HP-UX C SIP Stack Programmer's Guide (Novembery 2007)

Session Initiation Protocol (SIP) 7
Messages
RESPONSE MESSAGE
(blank line) Blank line marks end of SIP headers
and beginning of body.
v=0 Version.
o=Alice 53655765 2353687637 IN IP4
128.3.4.5
Owner/creator and session identifier,
session version address type and
address.
s=Call from Alice. Session subject.
c=IN IP4 alice_ws.hp.com Connection information.
M=audio 3456 RTP/AVP 0 3 4 5 Media description: type, port, possible
formats caller is willing to receive and
send.
Table 1-3 Request Message Samples (Continued)
Request Message Line Description
Table 1-4 Response Message Samples
Response Message line Description
SIP/2.0 200 OK Status line: SIP version, response
code, reason phrase.
Via: SIP/2.0/UDP
172.20.1.1:5060; branch=z9hG4bK-2f059
Copied from request.
From: Alice A. <sip:alice@hp.com>;tag=1121137 Copied from request.
To: Bob B. <sip:bob@acme.com>;tag=17462311 Copied from request. Includes
unique tag to identify call-leg.
Call-ID: 2388990012@alice_ws.hp.com Copied from request.
CSeq: 1 INVITE Copied from request.
Contact:<sip:bob@172.20.1.77> Direct route to contact Bob.
Content-Length: 200