Alex,

That's Brilliant. Works like a charm! Thank you

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Alex Balashov
Sent: Friday, March 11, 2016 3:50 PM
To: [email protected]
Subject: Re: [OpenSIPS-Users] Reqriteuri question

Travis,

rewriteuri() is a legacy core function that does not support PVs.

Have you considered ...?

    # Option 1.

    $rU = $fU;
    $rd = $avp(variable);

    # Option 2.

    $ru = "sip:" + $fU + "@" + $avp(variable);

-- Alex

-- 
Alex Balashov | Principal | Evariste Systems LLC
1447 Peachtree Street NE, Suite 700
Atlanta, GA 30309
United States

Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
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