[SR-Users] uac_replace_from function

Ilie Soltanici iliusha.md at gmail.com
Tue Sep 29 15:00:58 CEST 2020


The uac_replace_from seems not to be working properly in the ver 5.4.

This is the header I'm trying to change:
*From: "Admin" <sip:+123456789 at local.ip>;tag=as11428589*

by using this function:
uac_replace_from("","sip:+123456789 at domain.com");

I'm getting the following header:
*From:  <sip:+123456789 at domain.com35316853757>;tag=as11428589*
(Double space in the callerid name, and number appended after the domain)

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200929/1a0d523f/attachment.htm>

More information about the sr-users mailing list