[OpenSIPS-Users] Reqriteuri question

Travis Manson-Drake travism at simplybits.com
Fri Mar 11 23:54:11 CET 2016


Alex,

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

-----Original Message-----
From: users-bounces at lists.opensips.org [mailto:users-bounces at lists.opensips.org] On Behalf Of Alex Balashov
Sent: Friday, March 11, 2016 3:50 PM
To: users at lists.opensips.org
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
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list