[SR-Users] looks like dp_translate with pvs in repl_exp is badly broken

Juha Heinanen jh at tutpro.com
Wed Mar 22 07:24:37 CET 2017


when match_exp of dp 100 is ^#test and repl_exp is sip:$rU@$rd this code:

    xlog("L_INFO", "****** ru = $ru\n");
    dp_translate(100, "$rU/$var(res)");
    xlog("L_INFO", "****** res = $var(res)\n");

produces:

Mar 22 08:21:17 lohi /usr/bin/sip-proxy[7543]: INFO: ****** ru = sip:#test at test.tutpro.com
Mar 22 08:21:17 lohi /usr/bin/sip-proxy[7543]: INFO: ****** res = sip:$rU@$rd

-- juha



More information about the sr-users mailing list