Ciao,
i read INVITE from the sniffer and the Displayname is unchanged. I dont have errors message back. I dont know what im missing. Is there some working code sample i can copy to test it? Thank you, Stefano. Da: Henning Westerholt [mailto:[email protected]] Inviato: venerdì 5 giugno 2020 12:33 A: Kamailio (SER) - Users Mailing List Cc: Stefano Larosa Oggetto: RE: [SR-Users] How to overwrite DisplayName Hello, uac_replace_from should generally work. Have you checked the INVITE that is send out from Kamailio? It will be not visible (normally) inside the script. Do you get an error message in Kamailio log after calling this cmd? Cheers, Henning -- Henning Westerholt <https://skalatan.de/blog/> https://skalatan.de/blog/ Kamailio services <https://gilawa.com/> https://gilawa.com From: sr-users <[email protected]> On Behalf Of Stefano Larosa Sent: Friday, June 5, 2020 12:06 PM To: [email protected] Subject: [SR-Users] How to overwrite DisplayName 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<[email protected]> Becomes Simona<[email protected]> Ive tried just changing $fn value: $fn=Simona Or using uac_replace_from("Simona ",""); But INVITE msg is always From: "Sergio"<sip:[email protected];transport=UDP>;tag=1ac9e066 Ive tried this options in different position in kamailio.cfg but i can figure out the problem. Do you have any suggest? Thank you, Stefano.
_______________________________________________ Kamailio (SER) - Users Mailing List [email protected] https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
