If I'm not wrong, content-length doesn't include the length of the SIP msg. It only tells the length of the payload, i.e, SDP.
Regards, Srinivas -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Avasarala Ranjit-A20990 Sent: Monday, March 24, 2008 15:57 To: [EMAIL PROTECTED]; [email protected] Subject: Re: [Sip-implementors] doubt on MIME body [RFC-3204] Content-length tells the length of the entire message : SIP + SDP Content-type tells the type of message body : e.g application/sdp or application/xml Unique boundry is the CRLF. Regards Ranjit -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Monday, March 24, 2008 3:49 PM To: [email protected] Subject: [Sip-implementors] doubt on MIME body [RFC-3204] Hello, I have doubt on the SIP messagee body, consider the message has SDP and ISUP payloads, iam constructing the sip packet using Structures in C, I referd the document RFC 3204, i have doubt on following fields... 1.content length : is it tells the lenght of SDP ? 2.content type : 3.unique boundary : how we will know the boundaries of SDP and ISUP or other payloads if present? could anyone clarify me, Thanks Ravi Kumar. ___________________________________ IIT Kharagpur, http://www.iitkgp.ac.in _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors _______________________________________________ Sip-implementors mailing list [email protected] https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
