Hi, I am trying to change only the "display name" of the FROM header using uac_replace_from().However, the value is not being changed (see below) request_route { .... xlog ("L_INFO", "fu=$fu"); uac_replace_from("pbx", ""); xlog ("L_INFO", "fu=$fu"); # authentication route(AUTH); ....} Am I missing anything? Any help in this regard would be greatly appreciated. Thanks,Al
I think $fu does not content DISPLAY name. may be i am wrong...
2015-06-17 20:42 GMT+05:00 Al S alirsm@outlook.com:
Hi,
I am trying to change only the "display name" of the FROM header using uac_replace_from(). However, the value is not being changed (see below)
request_route { .... xlog ("L_INFO", "fu=$fu"); uac_replace_from("pbx", ""); xlog ("L_INFO", "fu=$fu");
# authentication route(AUTH); .... }
Am I missing anything? Any help in this regard would be greatly appreciated.
Thanks, Al
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
On Wednesday 17 June 2015 11:42:52 Al S wrote:
request_route { .... xlog ("L_INFO", "fu=$fu"); uac_replace_from("pbx", ""); xlog ("L_INFO", "fu=$fu"); # authentication route(AUTH); ....} Am I missing anything? Any help in this regard would be greatly appreciated.
This is expected behavior, AFAIK (didn't test it myself).
To reflect the changes immediatly use msg_apply_changes() from the textopsx module.