[Spce-user] Cannot had an E164 number with a SN starting with 0

Daniel Grotti dgrotti at sipwise.com
Thu Jan 30 07:59:10 EST 2014


Hi Matthew,
you need to change /etc/ngcp-congfig/config.yml:

routing:
      ac_regex: '[1-9]\d{0,4}'
      cc_regex: '[1-9]\d{0,3}'
      sn_regex: '[1-9]\d+'



setting something like:

routing:
      ac_regex: '[1-9]\d{0,4}'
      cc_regex: '[1-9]\d{0,3}'
      sn_regex: '[0-9]\d+'



then apply the changes.

Daniel



On 01/30/2014 01:53 PM, Matthew Ogden wrote:
> Hi
> 
>  
> 
> I am running SPCE 2.8 (and templates are on 2.8.18 – so I’ve run update
> recently), but when I am unable to create a subscriber with a 0 in the
> SN (The CC and nc are normal the same as other subscribers, and the only
> 0 is in the SN). (In our country its quite normal to have a 0 starting
> in the SN)
> 
>  
> 
> What can I do as a workaround to this, as the number is about to port to
> my network tomorrow. (I assume it’s a bug, and that an SN starting with
> 0 is actually allowed?
> 
>  
> 
> Kind Regards
> 
> Matthew
> 
> 
> 
> _______________________________________________
> 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