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 <[email protected]> wrote: > 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 it to the destination via usrloc or to pstn? > > Thanks, > > Dmitri > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
