SIP Content Type and Length
SIP Content Type and Length
INVITE sip:bob@biloxi.com SIP/2.0 Via: SIP/2.0/UDP pc33.atlanta.com:5060;branch=z9hG4bK776asdhds To: Bob <sip:bob@biloxi.com> From: Alice <sip:alice@atlanta.com>;tag=1928301774 Call-ID: a84b4c76e66710 CSeq: 314159 INVITE Contact: <sip:alice@pc33.atlanta.com> Content-Type: application/sdp Content-Length: 142 (Alice’s SDP not shown)
Content-Type indicates the type of message body attachment (others could be text/plain, application/cpl+xml, etc.)
- Here “application/sdp” indicates that it is SDP
Content-Length indicates length of the message body in octets (bytes)
- 0 indicates that there is no message body.
Transcript
[slide135] And then the content. In this case, we say it's an application type SDP, and then we say how long it is.