Ding Peng
2013-Jan-21 07:22 UTC
[asterisk-users] Does Asterisk support remove header from sip message?
Hi, all, I need remove some header from sip message, such as removing the privacy:id from receiving INVITE and sending out? Is there any method to do that? Thanks in advance. Ding Peng -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130121/80631031/attachment.htm>
Stefan Schmidt
2013-Jan-21 07:39 UTC
[asterisk-users] Does Asterisk support remove header from sip message?
Am 21.01.13 08:22, schrieb Ding Peng:> > Hi, all, > > I need remove some header from sip message, such as removing the > privacy:id from receiving INVITE and sending out? > > Is there any method to do that? > > Thanks in advance. > > Ding Peng > >Hello, "core show application SipRemoveHeader" should do what you want. But removing Sip headers which are set from the stack itself not by yourself could lead to a really mess. Maybe you should try to find another way to solve this, like setting the CALLERID(num-pres)=allowed, this should also remove the privacy:id header flag. best regards stefan -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130121/26587d30/attachment.htm>