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@test.tutpro.com Mar 22 08:21:17 lohi /usr/bin/sip-proxy[7543]: INFO: ****** res = sip:$rU@$rd
-- juha
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....
Cheers, Daniel
On Wed, Mar 22, 2017 at 10:23 AM, Juha Heinanen jh@tutpro.com wrote:
Hello, using Kamailio 4.4, append_rpid_hf("$fU",";party=calling;id-type=subscriber;privacy=off;screen=yes");
on the PSTN route doesn't append the rpid header on the INVITE
As well as append_hf("P-hint: outbound\r\n"); on the SIPOUT route doesn't work
What do I miss?
Best regards,
Olivier
Hello, using Kamailio 4.4, append_rpid_hf("$fU",";party=calling;id-type=subscriber;privacy=off;screen=yes");
on the PSTN route doesn't append the rpid header on the INVITE
As well as append_hf("P-hint: outbound\r\n"); on the SIPOUT route doesn't work
What do I miss?
Best regards,
Olivier
Hello, using Kamailio 4.4, append_rpid_hf("$fU",";party=calling;id-type=subscriber;privacy=off;screen=yes");
on the PSTN route doesn't append the rpid header on the INVITE
As well as append_hf("P-hint: outbound\r\n"); on the SIPOUT route doesn't work
What do I miss?
Best regards,
Olivier