Hey there!
Kamailio is being used between CPE (customer) and IC.
Towards IC we use e164 numbers
Towards customers we use 'localized' numbers and also ensure that Privacy is enforced by setting usernames to 'Anonymous' if Privacy is set to id, remove unwanted header etc.
I realized, that I have to apply the same translations to replies and re-invites to make sure, they do not leak unwanted information towards the customer.
But when I try to set:
onreply_route[MANAGE_REPLY]
$fU,$rU,$tU within MANAGE_REPLY
I get: do_action(): bad uri
Just removing unwanted header works fine it looks as it's only changing the usernames that causes this issue.
What would be the proper was to change usernames in replies?
Is there any module which would apply the same user translations as done with the invite to all replies and re-invites?
$fU,$rU,$tU within MANAGE_REPLY
I get: do_action(): bad uri
Ok, it took me some time to realize, that REPLIES to INVITE do not have an $rU.
Still wondering, if there is a more elegant way to achieve this.