Ali,
As I got, you're using send_reply() function. I'd suggest you to form 3xx
message manually and than just wait for ACK.
Le mer. 9 août 2023 à 23:56, Ali Taher <ataher(a)vanrise.com> a écrit :
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 <ataher(a)vanrise.com> 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 sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to
the sender!
Edit mailing list options or unsubscribe:
--
Best regards,
Ihor (Igor)