<div dir="ltr"><div dir="ltr">Use s.substr transformation.<br><a href="http://www.opensips.org/Documentation/Script-Tran-2-4">http://www.opensips.org/Documentation/Script-Tran-2-4</a><br></div><br>
<div class="gmail_extra"><br><div class="gmail_quote">2018-10-01 21:41 GMT+03:00 Vishal Pai <span dir="ltr"><<a href="mailto:vishalmpai@gmail.com" target="_blank">vishalmpai@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi All</div><div><br></div><div>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.</div><div><br></div><div>Thanks<br></div></div>
<br>______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>