[SR-Users] How to overwrite DisplayName

Stefano Larosa stefano.larosa at 10993.it
Fri Jun 5 12:06:24 CEST 2020


Hi and first of all thanks for your amazing work.

 

I have a kamailio 5.1.1 and i need to change the DisplayName before sending
INVITE to  another Asterisk server.

 

I need that 

"Sergio"<+33558700000 at 80.169.227.18> 

Becomes

"Simona"<+33558700000 at 80.169.227.18> 

 

I've tried just changing $fn value: 

 

$fn="Simona"

 

Or using 

uac_replace_from("Simona ","");

 

But INVITE msg is always

From: "Sergio"<sip:+33558700000 at 80.169.227.18;transport=UDP>;tag=1ac9e066

 

I've tried this options in different position in kamailio.cfg but i can
figure out the problem.

 

Do you have any suggest?

Thank you,

Stefano.

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200605/1e7e1bf8/attachment.html>


More information about the sr-users mailing list