[Spce-user] Unable to edit subscriber
Daniel Tiefnig
dtiefnig at sipwise.com
Wed May 16 07:59:50 EDT 2012
On 05/14/2012 01:06 PM, Sylvester Nielsen wrote:
> May 14 13:01:44 gw provisioning: Sipwise::Provisioning::_log_xmldata:
> check_E164_number called with: {'authentication' => {'password' =>
> '***PASS***','type' => 'admin','username' => 'sn'},'parameters' =>
> '+4532716020'}
> May 14 13:01:44 gw provisioning:
> Sipwise::Provisioning::handle_request: calling function
> 'check_E164_number' for admin 'sn'
> May 14 13:01:44 gw provisioning: Sipwise::Provisioning::_log_xmldata:
> check_E164_number returned with: undef
The problem here is, you've specified your ac_regex with anchors: '^$'
The check_E164_number function concatenates the expressions in the three
config options, and uses that as a regex. So in your case that would
result in: [1-9]\d{0,3}^$[1-9]\d+
Set ac_regex to '' and the check will succeed. We'll check if we can
improve the usability of the config options.
br,
daniel
More information about the Spce-user
mailing list