Presentation is loading. Please wait.

Presentation is loading. Please wait.

Session Initiation Protocol (SIP) By: Zhixin Chen.

Similar presentations

Presentation on theme: "Session Initiation Protocol (SIP) By: Zhixin Chen."— Presentation transcript:

1 Session Initiation Protocol (SIP) By: Zhixin Chen

2 Outline What is SIP? Fundamentals of SIP Mobility Support Using SIP

3 What is SIP ? An application-layer signaling protocol that can establish, modify and terminate multimedia sessions or calls. Developed by IETF (Version 2, March 1999) Applications: Voice over IP, Multimedia Conferences, and Distance Learning etc. Simple, scalable, extensible, and mobile. (Compared to H.323)

4 SIP Features User Availability: SIP determines the willingness of the called party to engage in communications. User location: SIP determines the terminal to be used for communication. User Capabilities: SIP negotiates the type of media and media parameters to be used for communication. Call Setup and Handling: SIP establishes, maintains and terminates the call. Support Other Protocols: RSVP (Resource Reservation Setup Protocol), RTP (Real Time Transport Protocol) and RTCP(RTP Control Protocol), SDP (Session Description Protocol)

5 Redirect Server SIP Components Location Server User Agent Gateway PSTN Proxy Server

6 SIP Components User Agent includes User Agent Client (UAC) and User Agent Server (UAS). The user agent client sends the requests. The user agent server receives and processes the requests and returns responses. Proxy Server is like an intermediary program that acts as both a server and a client. Requests are forwarded, possibly after rewriting the request message. Redirect Server advertises the caller to contact another server directly. A redirect server can leave behind the call request after it has been processed. Location Server contains the information about callee’s possible location. Location server is usually integrated in redirect or proxy server.

7 SIP Messages – Requests and Responses SIP Requests: INVITE – Initiates a call by inviting user to participate in session. ACK - Confirms that the client has received a final response to an INVITE request. BYE - Indicates termination of the call. CANCEL - Cancels a pending request. REGISTER – Registers the user agent. OPTIONS – Used to query the capabilities of a server. INFO – Used to carry out-of-bound information, such as DTMF digits. SIP Responses: 1xx - Informational Messages. 2xx - Successful Responses. 3xx - Redirection Responses. 4xx - Request Failure Responses. 5xx - Server Failure Responses. 6xx - Global Failures Responses.

8 SIP Addressing Email-like address: user@host. Examples of SIP addresses: sip: sip: chen@ sip:

9 SIP Headers HTTP-like message An example of SIP header: ----------------------------------------------------------------- SIP Header ----------------------------------------------------------------- INVITE SIP/2.0 From: To: Call-ID: CSeq: 100 INVITE Contact: Content-Type: application/sdp

10 Direct Communication between Endpoints Port: 1234 Port: 5678 INVITE 100 Trying 180 Ringing 200 OK ACK Data Flow BYE 200 OK

11 ACK 200 OK INVITE 200 OK BYE Data Flow ACK 180 Ringing 100 Trying SIP Operation in the Presence of a Proxy Server CALLER UA Proxy Server CALLEE UA INVITE Dong

12 200 OK BYE Data Flow ACK 180 Ringing 200 OK 100 Trying INVITE ACK SIP Operation in the Presence of a Redirect Server UAC Redirect Server UAS INVITE 302 Moved temporarily

13 Mobility in an IP Environment Terminal mobility: terminal moves between subnets Personal mobility: different terminals, same address Service mobility: keep same services while mobile

14 IP Mobility The IETF has standardized IP mobility support: uses tunneling of IP packets from a Home Agent to a Foreign Agent to make the mobility transparent to the higher layer. Problems: triangular routing, each host needs a home IP address, tunneling management. Routing optimization solves the triangular routing problem. (has its own problem).

15 IP Mobility (Cont) Move to new network => IP address changes (DHCP) Mobile IP hides address changes High latency Encapsulation overhead

16 SIP Mobility Support SIP supports personal mobility because a user can be found independent of location and network device. SIP can also support IP mobility (need to add the ability to move while a session is active)

17 SIP Mobility Support (Cont) MH belongs to a HA with redirect and location server. Location server receives registrations from the mobile host. MH does not need a statically allocated IP address on the home network.

18 SIP Mobility Support (Cont) MH->CH: new INVITE, with Contact and updated SDP Re-registers with home registrar

19 SIP Mobility Performance and Issues Eliminate the need for tunneled data. Can be installed easily The distinction between personal and terminal mobility disappears Not suitable for fast or small scale mobility

20 Conclusion SIP is used for initiation, control, and termination of multimedia conferences. SIP follows some of the latest and most widely used protocols like SMTP and HTTP. SIP is simple, extensible, scalable, and mobile. SIP can be used to support IP mobility.

21 References

Download ppt "Session Initiation Protocol (SIP) By: Zhixin Chen."

Similar presentations

Ads by Google