[OpenSIPS-Users] Fix empty lines in SIP headers generated by buggy hardware
shaheryarkh at gmail.com
Thu Nov 22 14:14:38 CET 2012
Use TextOPS module,
You probably need to use it something like this,
You have to do this BEFORE involving B2BUA stuff.
On Thu, Nov 22, 2012 at 2:03 PM, Adam Raszynski <netcentrica at gmail.com>wrote:
> I have problem with some buggy hardware ATAs and routers, some of them
> mess SIP requests by adding empty lines (\n or \r\n) between headers.
> For example:
> Via: SIP/2.0/UDP 220.127.116.11:5060;branch=z9hG4bKe89.28ac75a.0
> To: sip:18.104.22.168
> From: <sip:username at 22.214.171.124
> CSeq: 14 INVITE
> Call-ID: 1af0eccc5994a91b-19144 at 126.96.36.199
> Max-Forwards: 70
> Content-Length: 0
> Note empty line between CSeq and Call-Id. That's just example, empty lines
> appear in random order.
> I route calls to sippy B2BUA wich does not accept malformed requests and
> throw exception in that condition.
> Is it possible to detect such requests in OpenSIPS and remove unnecessary
> empty lines from between headers?
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users