Dear Brez,
Thank you very much for your prompt answer. So, you are saying that the syntax should be as follows,for example: Content-type: application/dtmf-relay<CR><LF> Content-length:26<CR><LF> <CR><LF> Signal=2<CR><LF> Duration=250<CR><LF> Is <cr><lf> absolutely mandatory after Duration=250?? And if it really is, in which RFC is this mentioned? Thank you and wish a great day! Laura ------------------------------ La Mi, 18 dec. 2013, 22:31 EET, brez a scris: >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