[SIPForum-discussion] SIP/2.0 400 Out-of-order request

Vijay Tiwari vijay11tiwari at gmail.com
Mon Feb 8 06:35:56 UTC 2010


Hello All


REGISTER sip:softswitch.com SIP/2.0^M
Via: SIP/2.0/UDP 100.2.3.4:2198;branch=z9hG4bK*0003-000004d1^M
From: <sip:mediaserver at softswitch.com <sip%3Amediaserver at softswitch.com>
>;tag=0000041f^M
To: <sip:mediaserver at softswitch.com <sip%3Amediaserver at softswitch.com>>^M
Call-ID: 3 at softswitch.com^M
CSeq: 92601 REGISTER^M
Contact: <sip:mediaserver at 100.2.3.4:2198>^M
Expires: 3600^M

In this register message

Max-Forwards header is missing and for more clarification please go look RFC
3261 section 20.1

Header field where proxy ACK BYE CAN INV OPT REG

Max-Forwards  R    amr    m   m   m   m   m  m

m: The header field is mandatory.



Debjit Basu

content length header require when you have SDP or any other protocol
attachment with SIP request.

Nitin

Also i can see the "^M" in your all the headers. Could you please remove
that and then try to send the REGISTER request.

this M come with SIP trace software nothing to do with SIP message.



Thanks

vijay





On Fri, Feb 5, 2010 at 11:43 AM, SIP Babie <sipbabie at gmail.com> wrote:

> Hi All,
>
> Could anybody explain me why "SIP/2.0 400 Out-of-order request" is been
> sent. As shown below, I received this response for the REGISTER request sent
> below.
>
> REGISTER sip:softswitch.com SIP/2.0^M
> Via: SIP/2.0/UDP 100.2.3.4:2198;branch=z9hG4bK*0003-000004d1^M
> From: <sip:mediaserver at softswitch.com <sip%3Amediaserver at softswitch.com>
> >;tag=0000041f^M
> To: <sip:mediaserver at softswitch.com <sip%3Amediaserver at softswitch.com>>^M
> Call-ID: 3 at softswitch.com^M
> CSeq: 92601 REGISTER^M
> Contact: <sip:mediaserver at 100.2.3.4:2198>^M
> Expires: 3600^M
>
>
>
> SIP/2.0 400 Out-of-order request^M
> Via: SIP/2.0/UDP 100.2.3.4:2198;branch=z9hG4bK*0003-000004d1^M
> From: <sip:mediaserver at softswitch.com <sip%3Amediaserver at softswitch.com>
> >;tag=0000041f^M
> To: <sip:mediaserver at softswitch.com <sip%3Amediaserver at softswitch.com>
> >;tag=b72e12N264b6d055c-49a3^M
> Call-ID: 3 at softswitch.com^M
> CSeq: 92601 REGISTER^M
> Contact: <sip:mediaserver at 100.2.3.4:2198>;expires=3133^M
> Contact: <sip:media at 100.2.3.4:2198>;expires=2664^M
> Expires: 3600^M
> Content-Length: 0^M
> ^M
>
> Regards,
> SIPBABIE
>
> _______________________________________________
> 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
>
>


-- 
They can because they think they can.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20100208/fb694492/attachment-0002.html>


More information about the discussion mailing list