On 12/18/13 4:51 AM, iancu laura wrote: > > Hi, > > I am a newcomer to Sip and i want to clarify something from RFC 3261. > > I would like to know if,for a SIP INFO method, CRLF is mandatory at the end > of each line. Should the syntax of Info be with or without CRLF at the end of > message body? > > To be more clear, on the sip info there is no "0a 0d" at the end of the > message body and, for this reason from peer side we receive 400 bad request > with the reason "syntax error".is this a problem at the peer side with the > parser?or we should add 0a 0d at the end of message body line? >>From my point of view, if this is not very clear mentioned in the protocol, a >>vendor can have it.s own design. > > Thank you in advance, > Laura
This depends on the Content-Type of the body. The body must conform to the Content-Type declared for it. Some content types may require CRLF and others may not. Thanks, Paul _______________________________________________ Sip-implementors mailing list Sip-implementors@lists.cs.columbia.edu https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors