<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Vishal,<br>
<br>
$var(x) = $(rU{s.substr,0,7));<br>
<br>
See <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-Tran-2-4#toc5">http://www.opensips.org/Documentation/Script-Tran-2-4#toc5</a> ;
$rU is the dialed username in RURI.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
<a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
<div class="moz-cite-prefix">On 10/02/2018 09:53 PM, Vishal Pai
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CACOmXtAfcsiZt+8de-gV1K5gyj+dMDPZzUtyLfNGeaaEfbtG0g@mail.gmail.com">
<div dir="ltr">
<div>Hi All</div>
<div><br>
</div>
<div>I need a way in configuration file where i can take out
NPANXX from the callee number. <br>
</div>
<div><br>
</div>
<div>For Example</div>
<div><br>
</div>
<div>Callee = 1318900XXXX</div>
<div><br>
</div>
<div>Then function/code should return 318900.</div>
<div><br>
</div>
<div>Thanks<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>