[SR-Users] uac_from_replace does not restore when changing display name only

Klaus Darilion klaus.mailinglists at pernau.at
Fri Oct 10 16:13:37 CEST 2014


Further more, "auto" mode with "restore_dlg=1" does automatically change
the From-uri for in-dialog requests, but not the From-display name.

Is this also intended?

Thanks
Klaus

On 10.10.2014 16:02, Klaus Darilion wrote:
> Hi!
> 
> It seems that uac_replace_from does restore the original URI only if the
> From URI is changed. Only changing the Display-name, eg:
>         uac_replace_from("$avp(pad)","");
> does not add the RR-cookie, thus the original will not be restored (e.g.
> on responses).
> 
> Is this on purpose or a bug?
> 
> regards
> Klaus
> 
> PS: The workaround is: uac_replace_from("$avp(pad)","$fu");
> 
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> 



More information about the sr-users mailing list