<HTML dir=ltr><HEAD><TITLE>Re: [OpenSIPS-Users] SIP/2.0 400 Content Length is Incorrect</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6001.18148" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText92969 dir=ltr>
<DIV dir=ltr><FONT face=Verdana color=#000000 size=2>Yes, signaling path is :</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>[Eyebeam] ----> [Opensips] ---pix with(fixup protocol sip)--> [Partner]</FONT></DIV></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>Right now, I beleive this is only taking place when the call come in from a certain subnet inside a the PIX firewall, so it may be a miss config on the firewall.</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>I need to investigate further.</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>Any other suggestions ?</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2>Thanks, I will let you kwnow</FONT></DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Verdana size=2></FONT> </DIV>
<DIV dir=ltr> </DIV>
<DIV dir=ltr>
<DIV dir=ltr><BR></DIV>
<DIV dir=ltr>
<HR tabIndex=-1>
</DIV>
<DIV dir=ltr><FONT face=Tahoma size=2><B>From:</B> Bogdan-Andrei Iancu [mailto:bogdan@voice-system.ro]<BR><B>Sent:</B> Tue 04/08/2009 4:26 PM<BR><B>To:</B> Julien Chavanton<BR><B>Cc:</B> users@lists.opensips.org<BR><B>Subject:</B> Re: [OpenSIPS-Users] SIP/2.0 400 Content Length is Incorrect<BR></FONT><BR></DIV></DIV>
<DIV>
<P><FONT size=2>Hi Julien,<BR><BR>yes, the Content len hdt contains the len of the body in chars (what the<BR>body is, including all the chars in there).<BR><BR>In your case, you send a call from Eyebeam to OpenSIPS and you relay it<BR>further to another client which replies with the error?<BR><BR>Regards,<BR>Bogdan<BR><BR><BR><BR>Julien Chavanton wrote:<BR>> If I understand correctly Content-Length is the size of the SDP<BR>> message, I have them here almost unaltered, unless the problem is with<BR>> line feed/carriage return.<BR>> <BR>> I did wc and they match, humm not sure where to look.<BR>> <BR>> ------------------------------------------------------------------------<BR>> This one return "SIP/2.0 400 Content Length is Incorrect (359 vs 356)."<BR>> ------------------------------------------------------------------------<BR>> Content-Length: 360.<BR>> P-hint: Route[6]: mediaproxy .<BR>> .<BR>> v=0.<BR>> o=- 7 2 IN IP4 192.168.101.239.<BR>> s=CounterPath eyeBeam 1.5.<BR>> c=IN IP4 10.0.4.210.<BR>> t=0 0.<BR>> m=audio 51090 RTP/AVP 0 8 18 101.<BR>> a=alt:1 1 : 9xT8sdp8 dJNn6AL5 192.168.101.239 5992.<BR>> a=fmtp:18 annexb=yes.<BR>> a=fmtp:101 0-15.<BR>> a=rtpmap:18 G729/8000.<BR>> a=rtpmap:101 telephone-event/8000.<BR>> a=sendrecv.<BR>> a=x-rtp-session-id:6746FE4B967845A3BC3CE0528E9F9A0D.<BR>> a=direction:active.<BR>> ------------------------------------------------------------------------<BR>> <BR>> ------------------------------------------------------------------------<BR>> This one return "200 OK"<BR>> ------------------------------------------------------------------------<BR>> Content-Length: 429.<BR>> P-hint: Route[6]: mediaproxy .<BR>> .<BR>> v=0.<BR>> o=- 6 2 IN IP4 10.0.1.71.<BR>> s=CounterPath X-Lite 3.0.<BR>> c=IN IP4 10.0.4.210.<BR>> t=0 0.<BR>> m=audio 51098 RTP/AVP 107 0 8 101.<BR>> a=alt:1 4 : P2r8H0s1 PjFnvrZF 192.168.1.102 50514.<BR>> a=alt:2 3 : Zg++GVqM zvF8qNdi 192.168.114.1 50514.<BR>> a=alt:3 2 : aDT0P1g7 P6eCvs8N 192.168.146.1 50514.<BR>> a=alt:4 1 : E0q9LRE/ m4a2BEWO 10.0.1.71 50514.<BR>> a=fmtp:101 0-15.<BR>> a=rtpmap:107 BV32/16000.<BR>> a=rtpmap:101 telephone-event/8000.<BR>> a=sendrecv.<BR>> a=direction:active.<BR>> ------------------------------------------------------------------------<BR>><BR>> <BR>> ------------------------------------------------------------------------<BR>> *From:* users-bounces@lists.opensips.org on behalf of Julien Chavanton<BR>> *Sent:* Wed 29/07/2009 10:40 PM<BR>> *To:* users@lists.opensips.org<BR>> *Subject:* [OpenSIPS-Users] SIP/2.0 400 Content Length is Incorrect<BR>><BR>> Hi, I have this curious case where when sending call from Eyebeam we<BR>> receive "SIP/2.0 400 Content Length is Incorrect"<BR>><BR>> But this is only from one PC, another computer with Eyebeam does not<BR>> face the same problem.<BR>><BR>> I will investigate further on my side, but maybe someone as faced this<BR>> before.<BR>><BR>> <BR>><BR>> Unfortunatly I have altered the data so it is not correct anyway :<BR>><BR>> <BR>><BR>> #<BR>> U 1.1.1.1:40842 -> 3.3.3.3:5060<BR>> INVITE sip:1002123456789@osip.domain.com SIP/2.0.<BR>> Via: SIP/2.0/UDP<BR>> 1.1.1.1:40842;branch=z9hG4bK-d8754z-0978ed74e64c0d43-1---d8754z-;rport.<BR>> Max-Forwards: 70.<BR>> Contact: <sip:user@1.1.1.1:40842>.<BR>> To: "1002123456789"<sip:1002123456789@osip.domain.com>.<BR>> From: "test"<sip:user@osip.domain.com>;tag=524b8a00.<BR>> Call-ID: Yzc0MmQxMzAyMjI5MDA0OGM5Y2VhYTZjZjQ2NjY5OTM..<BR>> CSeq: 1 INVITE.<BR>> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,<BR>> SUBSCRIBE, INFO.<BR>> Content-Type: application/sdp.<BR>> User-Agent: eyeBeam release 1101w stamp 50331.<BR>> Content-Length: 344.<BR>> .<BR>> v=0.<BR>> o=- 7 2 IN IP4 1.1.1.1.<BR>> s=CounterPath eyeBeam 1.5.<BR>> c=IN IP4 1.1.1.1.<BR>> t=0 0.<BR>> m=audio 5992 RTP/AVP 0 8 18 101.<BR>> a=alt:1 1 : 9xT8sdp8 dJNn6AL5 1.1.1.1 5992.<BR>> a=fmtp:18 annexb=yes.<BR>> a=fmtp:101 0-15.<BR>> a=rtpmap:18 G729/8000.<BR>> a=rtpmap:101 telephone-event/8000.<BR>> a=sendrecv.<BR>> a=x-rtp-session-id:6746FE4B967845A3BC3CE0528E9F9A0D.<BR>><BR>> #<BR>> U 2.2.2.2:5060 -> 3.3.3.3:5060<BR>> SIP/2.0 400 Content Length is Incorrect (359 vs 356).<BR>><BR>> <BR>><BR>> ------------------------------------------------------------------------<BR>><BR>> _______________________________________________<BR>> Users mailing list<BR>> Users@lists.opensips.org<BR>> <A href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A><BR>> <BR><BR></FONT></P></DIV></BODY></HTML>