[OpenSIPS-Users] ANIs check for source number

Podrigal, Aron aronp at guaranteedplus.com
Thu Apr 30 23:01:26 CEST 2015


Thanks Ben, didn't know that.

On Thu, Apr 30, 2015 at 4:38 PM, Newlin, Ben <Ben.Newlin at inin.com> wrote:

>   There is also a function in the URI module for checking if the user
> portion of a URI is an E.164 number.
>
>  http://www.opensips.org/html/docs/modules/1.11.x/uri.html#id294513
>
>   From: <Podrigal>, Aron
> Reply-To: OpenSIPS users mailling list
> Date: Thursday, April 30, 2015 at 1:20 PM
> To: OpenSIPS users mailling list
> Subject: Re: [OpenSIPS-Users] ANIs check for source number
>
>   yes of course you can use just a regex. That would need to match any
> standard ^\+?[1-9]\d{1,14}$  BTW, 011 (as countrycode plus number) I
> think is invalid form, the stranded allows ANI to be up to 15 digit and
> does not have a min length.
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>


-- 
Aron Podrigal
-
//Be happy :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20150430/8699d23a/attachment.htm>


More information about the Users mailing list