[SR-Users] remove header from reply?
Brett Nemeroff
brett+kamailio at voicefoxtelephony.com
Fri Aug 19 06:26:54 CEST 2022
Hello,
I'm receiving calls which I forward to a server I KNOW will reply with a
302. When I get that 302, I parse some information and then t_reply(302)
the originator. The 302 I create needs to have it's own contact header
which I am adding with append_to_reply(). That works great. BUT the contact
header from the original 302 is hanging around. Now I have two contact
headers :(
How can I get rid of the original 302's contact header? remove_hf() doesn't
work in this context since it's a reply. So I need a kind of
"remove_header_from_reply()".
Thanks,
Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220818/c588c2c9/attachment.htm>
More information about the sr-users
mailing list