[Spce-user] Info on syntax

Jon Bonilla (Manwe) manwe at sipdoc.net
Thu Mar 3 05:49:54 EST 2016


El Thu, 3 Mar 2016 10:13:47 +0000
Alessandro Bolletta <alessandro at mediaspot.net> escribió:

> Hi,
> just a little doubt:
> 
> If I want to rate numbers whose prefix is: 0049(2-9)
> For example: 004949438234 or 00499213494 should be included on the same
> rating fee. Is it correct this Destination Model?:
> 
> ^0049([2-9][0-9]+)$
> 
> I have the fear that it could be uncorrectly processed.
> 


you SHOULD REALLY use E164 format.

That means 49... and not 0049...

Regarding the regexp, it seems correct, yes.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Firma digital OpenPGP
URL: <http://lists.sipwise.com/mailman/private/spce-user_lists.sipwise.com/attachments/20160303/6a6fe61a/attachment.sig>


More information about the Spce-user mailing list