[Serusers] Number registered

Andrey Kouprianov andrey.kouprianov at gmail.com
Thu Jul 20 06:21:33 CEST 2006

You can use strip command (dont remember which module though... most
probably textproc.so). To get rid of first 2 fives just issue
strip(2), before validating the number. Hope that helps.


On 7/19/06, Teran Jesus <jteran at mcmtelecom.com.mx> wrote:
> Hello
> I want to validate and get the 2 first digits of the telephone number
> registered, if i have a ip phone registered with a number like this
> 5556000000, when i recieve a INVITE from this number, i want to get 55 and
> validate the number, are there something to do this?
> Can you help me?
> _______________________________________________
> Serusers mailing list
> Serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers

More information about the sr-users mailing list