Discussion:
[SR-Users] uac_from_replace does not restore when changing display name only
Klaus Darilion
2014-10-10 14:02:23 UTC
Permalink
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");
Klaus Darilion
2014-10-10 14:13:37 UTC
Permalink
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
Post by Klaus Darilion
Hi!
It seems that uac_replace_from does restore the original URI only if the
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
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Loading...