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

2017-03-22 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > are you using dialog plan with match_dynamic set to 1 or the default > 0? no dynamic_match setting, i.e., default 0. -- juha ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.

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

2017-03-22 Thread Daniel-Constantin Mierla
Hello, are you using dialog plan with match_dynamic set to 1 or the default 0? https://www.kamailio.org/docs/modules/stable/modules/dialplan.html#dialplan.p.match_dynamic Cheers, Daniel On Wed, Mar 22, 2017 at 10:23 AM, Juha Heinanen wrote: > Juha Heinanen writes: > > > when match_exp of dp 1

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

2017-03-22 Thread Juha Heinanen
Juha Heinanen writes: > 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[75

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

2017-03-21 Thread Juha Heinanen
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:#t...@test.tu