To amplify Christer's replyP: Christer Holmberg <christer.holmb...@ericsson.com> writes: >>I have couple of questions >> >>1) If I am receiving a sip request without userinfo part in the >>sip-usri, starting with "@" then is it a malformed packet? > > It's a malformed SIP URI.
In particular, it is syntactically incorrect, which you can see by comparison with the ABNF in RFC 3261 section 25.1 production "SIP-URI". > >>2) What should be the standard behavior of SIP server while responding >>to such packets? > > Send a response with an error response code. Specifically, a 400 response: 21.4.1 400 Bad Request The request could not be understood due to malformed syntax. The Reason-Phrase SHOULD identify the syntax problem in more detail, for example, "Missing Call-ID header field". However, there is a certain amount of freedom that SIP servers have regarding precisely what 4xx response codes they give for particular requests, because the errors in SIP requests cannot be precisely categorized. Dale _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/sip-implementors