Hi Vishal,

$var(x) = $(rU{s.substr,0,7));

See http://www.opensips.org/Documentation/Script-Tran-2-4#toc5 ; $rU is the dialed username in RURI.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
  http://opensips.org/training/OpenSIPS_Bootcamp_2018/

On 10/02/2018 09:53 PM, Vishal Pai wrote:
Hi All

I need a way in configuration file where i can take out NPANXX from the callee number.

For Example

Callee = 1318900XXXX

Then function/code should return 318900.

Thanks


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to