[OpenSIPS-Users] To get prefix from dialed number

Nick Altmann nick.altmann at gmail.com
Mon Oct 1 14:52:59 EDT 2018


Use s.substr transformation.
http://www.opensips.org/Documentation/Script-Tran-2-4


2018-10-01 21:41 GMT+03:00 Vishal Pai <vishalmpai at gmail.com>:

> Hi All
>
> I need a proper way to separate out the prefix from the dialed number. For
> example if i am dialing number 98981234567890 then i need to store 9898 in
> a variable.
>
> Thanks
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181001/3fbfd446/attachment.html>


More information about the Users mailing list