I used append_to_reply function to rebuild the To header, but the problem is that the old To header stays there even if I use remove_hf method to remove it.
What I’m doing wrong here? My logic is set inside a route block. Regards, Sent from my iPhone On Aug 9, 2023, at 2:55 PM, Ali Taher <[email protected]> wrote: Hello, I’m using Kamailio as SIP redirect where SBC sends INVITE packet to kamailio and "302","Multiple Choices" is sent back to SBC. What I want is to modify the URI part in the To header of the Multiple Choices packet sent from kamailio. I tried to use uac_replace_to("”,"sip:$var(cdpn)@$td") where $var(cdpn) is already defined in the routing logic, but it’s not reflected and the original TO URI is sent instead. Any help to handle this issue is much appreciated. Regards,
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe:
