- Session Initiation Protocol (application layer protocol)
- communication session between two endpoints(single entity in the networked cloud which wants to initiate the session)
- how to start talking (transfer voice data between), how to initiate, what are the things to agree upon
- some central entity to coordinate
- willingness to send and receive
- agreeing on same protocol
- knowledge of the location of each other (location can change at run time)
- ability to inform each other of some change
- some quality with regards to the data (voice,text,video) packets
- subscription to services, reception of change notification
- SIP only initiates the communication, capability negotiation using SDP, and data transfer using RTP (UDP packets for better server load and call quality)
- A text base protocol
- SIP entities
- SIP UA
- User Agent, application with the logic (sip stack)
- Initiates and terminates session
- act as both both client (UAC, initiates request) and server (UAS, response)
- SIP registrar server
- accept REGISTER requests from UA
- interface to the location database
- keep track of, what’s the UA active location
- SIP proxy server
- Intermediary, if two UA cant talk with each other directly
- can modify request received from other (UA or proxy)
- can generate, ACK and CANCEL requests
- SIP redirect server
- needed, as user can be active (and can move) to any of the UA Application
- helps in finding the right address (active address) to send the request to
- provide information about other addresses of the called party
- do not forward the request, just finds them and maps the current address to the new address
- Some SIP requests methods
- REGISTER, the UA with registrar
- INVITE, another UA to start talking
- CANCEL, the search for other UA and ringing on other UA
- ACK, from other UA, finally accepting your INVITE
- BYE, stop talking
- OPTIONS, so what all can you do
- INFO, some information which doesn't modify the session state
- Some SIP response (with numeric codes, like in HTTP responses)
- provisional (shows progress, and starts with 1 with two more digits, 1XX)
- final
- 2XX, convey success
- 3XX, redirection and forwarding
- 4XX, client errors, which results in failure of the request
- 5XX, server errors, thus failure in request
- 6XX, all other global failures
UA : User Agent
SIP : Session Initiation Protocol
RTP : Real-Time Transport Protocol
RTCP : Real-Time Control Protocol
UDP: User Datagram Protocol
HTTP : Hyper Text Transfer Protocol
No comments:
Post a Comment