
Understanding the SIP Protocol
In this example, Caller B decides to answer the call. When he picks up the handset, the SIP phone sends a 200 (OK) response to indicate that the call has been answered. The 200 (OK) contains a message body with the SDP media description of the type of session that Caller B is willing to establish with Caller A. As a result, there is a
SIP/2.0 200 OK
Via: SIP/2.0/UDP server10.biloxi.com; branch=z9hG4bKnashds8; received=192.0.2.3
Via: SIP/2.0/UDP bigbox3.site3.atlanta.com; branch=z9hG4bK77ef4c2312983.1; received=192.0.2.2
Via: SIP/2.0/UDP pc33.atlanta.com; branch=z9hG4bK776asdhds; received=192.0.2.1
To: b <sip:b@biloxi.com>;tag=a6c85cf
From: A <sip:a@atlanta.com>;tag=1928301774
CSeq: 314159 INVITE
Contact: <sip:b@192.0.2.4>
(Caller B's SDP not shown)
The first line of the response contains the response code (200) and the reason phrase (OK). The remaining lines contain header fields. The Via, To, From,
In addition to DNS and location service lookups shown in this example, proxy servers can make flexible “routing decisions” to decide where to send a request. For example, if Caller B's SIP phone returned a 486 (Busy Here) response, the biloxi.com proxy server
November 2009 | 252 |