On 12/18/2013 9: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.

You have to have CRLF at the end of each line in the message envelope 
(headers). For message body, it depends on the type of content used 
(Content-Type header). Each content type has it's own syntax defined.

Regards,

Brez


_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to