Re: [SR-Users] MANAGE_REPLY: do_action(): bad uri: How to mirror username changes from the invite to all replies?

2022-09-09 Thread Benoît Panizzon

> $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.

-- 
Mit freundlichen Grüssen

-Benoît Panizzon- @ HomeOffice und normal erreichbar
-- 
I m p r o W a r e   A G-Leiter Commerce Kunden
__

Zurlindenstrasse 29 Tel  +41 61 826 93 00
CH-4133 PrattelnFax  +41 61 826 93 01
Schweiz Web  http://www.imp.ch
__

__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] MANAGE_REPLY: do_action(): bad uri: How to mirror username changes from the invite to all replies?

2022-09-09 Thread Benoît Panizzon
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?

-- 
Mit freundlichen Grüssen

-Benoît Panizzon- @ HomeOffice und normal erreichbar
-- 
I m p r o W a r e   A G-Leiter Commerce Kunden
__

Zurlindenstrasse 29 Tel  +41 61 826 93 00
CH-4133 PrattelnFax  +41 61 826 93 01
Schweiz Web  http://www.imp.ch
__

__
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users