[OpenSIPS-Users] To get prefix from dialed number

Vishal Pai vishalmpai at gmail.com
Tue Oct 2 04:57:20 EDT 2018


Thank you

On Tue, Oct 2, 2018 at 12:26 AM Nick Altmann <nick.altmann at gmail.com> wrote:

> 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
>>
>>
> _______________________________________________
> 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/20181002/90193c44/attachment.html>


More information about the Users mailing list