[OpenSIPS-Users] Reqriteuri question

Alex Balashov abalashov at evaristesys.com
Fri Mar 11 23:49:39 CET 2016


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/



More information about the Users mailing list