[SIPForum-discussion] 400 Bad Request

Stephen James sjames_1958 at yahoo.com
Mon Oct 1 03:30:54 UTC 2012


Assuming the various spaces you have around the IP addresses are only because you set those to xx and yy. I sent this into my system and the parsing failed on the SDP. I guess 400 is open to some interpretation. A 415/488 may not apply to invalid formatted SDP. 

Sent from my iPad

On Sep 30, 2012, at 10:13 PM, Abhisek Acharya <abhisek.acharya at gmail.com> wrote:

> Hey Stephan,
> 
> If Something wrong in sdp then why you will get 400 you should get some error response related to codec like 415 ,488 stuffs like that.Are you sure everything is correct in the INVITE message SIP headers.
> 
> Regards
> Abhisek 
> 
> On Sat, Sep 29, 2012 at 2:10 AM, Stephen James <sjames_1958 at yahoo.com> wrote:
> Likely it is 
> a=fmtp:106
> I don't think you can have fmtp without parameters
>  
> Stephen James 
> sjames_1958 at yahoo.com
>  
> We are not princes of the earth, we are the descendants of worms, and any nobility must be earned.
> 
> 
> From: Prem chandiran <toprem.m at gmail.com>
> To: discussion at sipforum.org
> Sent: Fri, September 28, 2012 3:03:26 PM
> Subject: [SIPForum-discussion] 400 Bad Request
> 
> Hi all,
> I am getting 400 Bad request for the below invite. I am unable to figure out what is wrong with below invite. Please help me ...
> 
> INVITE sip:77777442075361364 at xx.xxx.xx.xx:5060 SIP/2.0
> Via: SIP/2.0/UDP  xx.xxx.xx.xx :5060;branch=z9hG4bK1348764585289
> To: "77777442075361364" <sip:77777442075361364@ xx.xxx.xx.xx :5060>
> From: "9876500101" <sip:yy.yyy.yyy.yy:5060>;tag=7
> Contact: <sip: yy.yyy.yyy.yy :5060>
> Call-ID: CS1348764585289
> CSeq: 1 INVITE
> Max-Forwards: 70
> Allow: INVITE,ACK,CANCEL,BYE,UPDATE
> Content-Type: application/sdp
> Content-Length: 463
> 
> v=0
> o=9876500101 76 77 IN IP4 yy.yyy.yyy.yy
> s=mizuphone
> c=IN IP4 yy.yyy.yyy.yy
> t=0 0
> m=audio 17272 RTP/AVP 106 105 18 0 8 4 101
> a=rtpmap:106 speex/32000
> a=fmtp:106
> a=rtpmap:105 speex/16000
> a=fmtp:105 mode=8;mode=any
> a=rtpmap:18 G729/8000
> a=fmtp:18 annexb=no
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:4 G7231/8000
> a=fmtp:4 bitrate=6.3;annexa=yes
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=sendrecv
> a=silenceSupp:off - - - -
> 
> 
> Thanks in advance.
> 
> 
> Regards,
> Prem Chandiran M
> 
> _______________________________________________
> This is the SIP Forum discussion mailing list
> TO UNSUBSCRIBE, or edit your delivery options, please visit http://sipforum.org/mailman/listinfo/discussion
> Post to the list at discussion at sipforum.org
> 
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://sipforum.org/pipermail/discussion/attachments/20120930/e5f5ff5b/attachment-0001.html 


More information about the discussion mailing list