[Spce-user] Unable to edit subscriber

Sylvester Nielsen sn at fest.dk
Wed May 16 08:02:11 EDT 2012


Great.. That worked. Thank you so much. :)

-----Original Message-----
From: spce-user-bounces at lists.sipwise.com [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of Daniel Tiefnig
Sent: 16. maj 2012 14:00
To: spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Unable to edit subscriber

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

_______________________________________________
Spce-user mailing list
Spce-user at lists.sipwise.com
http://lists.sipwise.com/listinfo/spce-user






More information about the Spce-user mailing list