Did you try sipmsgops module? You can maybe remove the header and the add
the ones you'd like:
http://www.opensips.org/html/docs/modules/1.8.x/sipmsgops.html
You can also check out the textops module. There are some utilities there
as well.
Regards,
Ali Pey
On Thu, Oct 11, 2012 at 1:26 PM, DM
One of my clients is sending a buggy SIP invite which contains Privacy
headers multiple times.
Supported: replaces, timer
Privacy: id
Privacy: id
Privacy: id
Content-Type: application/sdp
Content-Length: 298
How can I strip out the last 2 Privacy headers and keep only the first
before sending