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.
Andrey.
On 7/19/06, Teran Jesus <jteran(a)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(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers