<div dir="ltr">Thank you<br></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Oct 2, 2018 at 12:26 AM Nick Altmann <<a href="mailto:nick.altmann@gmail.com">nick.altmann@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr">Use s.substr transformation.<br><a href="http://www.opensips.org/Documentation/Script-Tran-2-4" target="_blank">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>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">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-bin/mailman/listinfo/users</a><br>
</blockquote></div>