[OpenSIPS-Users] multiple headers

Ali Pey alipey at gmail.com
Fri Oct 12 16:04:04 CEST 2012


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 <xbt.dev at gmail.com> 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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121012/cead9fc4/attachment.htm>


More information about the Users mailing list