<div dir="ltr">Thanks for help.<br></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Oct 3, 2018 at 1:04 AM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Vishal,<br>
      <br>
      $var(x) = $(rU{s.substr,0,7));<br>
      <br>
      See <a class="m_5224762756218646321moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-Tran-2-4#toc5" target="_blank">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="m_5224762756218646321moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_5224762756218646321moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
  <a class="m_5224762756218646321moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/" target="_blank">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
    <div class="m_5224762756218646321moz-cite-prefix">On 10/02/2018 09:53 PM, Vishal Pai
      wrote:<br>
    </div>
    <blockquote type="cite">
      <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="m_5224762756218646321mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a class="m_5224762756218646321moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_5224762756218646321moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div>