[OpenSIPS-Users] uac_replace_from in CANCEL

nz deals nzdealshelp at gmail.com
Wed Dec 20 10:38:49 UTC 2023


Hi,
I've been attempting to modify the From header in the CANCEL, but it seems
the changes aren't taking effect. I've also experimented with remove_hf and
append_hf, but unfortunately, these methods didn't work either. Could
someone kindly offer suggestions if I might be overlooking something?

This is in the main request route

        if (is_method("CANCEL")) {
                uac_replace_from("","sip:test at test.com");
                if (t_check_trans())
                        t_relay(8);
                exit;
        }




Regards,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20231220/7e41ac66/attachment.html>


More information about the Users mailing list