If you think about the logic of capriciously changing the From user in just a reply, in a way that doesn’t match the From user in the request which formed the transaction and/or dialog, there… isn’t any. :-)
— Sent from mobile, with due apologies for brevity and errors.
On Jul 5, 2022, at 10:07 PM, Mack Hendricks mack@dopensource.com wrote:
Hey All,
I'm just trying to change the From user before I do a 301 Redirect within a Failure Route. Here's the code snippet:
$fu = "+15555555555"; append_to_reply("Contact: sip:+1$var(redirect_did)@$si:$sp\r\n"); t_reply("302", "Redirect");
The From user is not changed and msg_apply_changes() isn't allowed. What am I doing wrong?
Thanks __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: