1 / 57

Session Initiation Protocol (SIP)

Session Initiation Protocol (SIP). What is SIP?. An application-layer protocol A control (signaling) protocol. SIP runs on top of several different transport protocols. SIP is used for:. creating, modifying, and terminating sessions with one or more participants.

Download Presentation

Session Initiation Protocol (SIP)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Session Initiation Protocol (SIP)

  2. What is SIP? An application-layer protocolA control (signaling) protocol

  3. SIP runs on top of several different transport protocols.

  4. SIP is used for: • creating, • modifying, and • terminating • sessions with one or more participants.

  5. These sessions include: • Internet telephone calls, • multimedia distribution, and • multimedia conferences.

  6. SIP works independently of underlying transport protocols.

  7. SIP does not depend on the type of session that is being established.

  8. SIP invitations are used to create sessions.

  9. These SIP invitations carry session descriptions that allow participants to agree on a set of compatible media types.

  10. What is a session? "An exchange of data between an association of participants."

  11. Sessions can be hard to establish! • Users may move between endpoints. • They may be addressable by multiple names. • They may communicate in several different media - sometimes simultaneously.

  12. Session Initiation Protocol (SIP) enables Internet endpoints (called user agents) to discover one another and to agree on a characterization of a session they would like to share.

  13. SIP can be used with other IETF protocols to build a complete multimedia architecture.

  14. These other protocols include: • RTP • RTSP • MGCP/MEGACO • SDP

  15. Real-time Transport Protocol (RTP) RFC 1889, used for • Transporting real-time data and • Providing QoS feedback

  16. Real-Time Streaming Protocol (RTSP)RFC 2326, used for: • Controlling delivery of streaming media.

  17. Media Gateway Control Protocol (MGCP)Also known as MEGACORFC 3525, used for: • Controlling gateways to the Public Switched Telephone Network (PSTN)

  18. Session Description Protocol (SDP)RFC 2327, used for: • Describing multimedia sessions.

  19. SIP is used in conjunction with these other protocols in order to provide complete services to the users. However, the basic functionality and operation of SIP does not depend on any of these protocols.

  20. Other features SIP can also invite participants to already existing sessions, such as multicast conferences.

  21. Other features, (cont.) Media can be added to (and removed from) an existing session.

  22. Other features, (cont.) SIP transparently supports name mapping and redirection services, which supports personal mobility - users can maintain a single externally visible identifier regardless of their network location.

  23. SIP supports five facets of establishing and terminating multimedia communications: • User location • User availability • User capabilities • Session setup • Session management

  24. (1) User location: Determination of the end system to be used for communication.

  25. (2) User availability: Determination of the willingness of the called party to engage in communications.

  26. (3) User capabilities: Determination of the media and media parameters to be used.

  27. (4) Session setup: "Ringing", establishment of session parameters at both called and calling party.

  28. (5) Session management: Including transfer and termination of sessions, modifying session parameters, and invoking services.

  29. SIP works with both IPv4 and IPv6.

  30. SIP cannot, and does not, provide any kind of network resource reservation capabilities.

  31. SIP makes use of elements called proxy servers.

  32. What does a proxy server do?

  33. SIP Proxy servers • help route requests to the user's current location, • authenticate and authorize users for services, • implement provider call-routing policies, and • provide features to users.

  34. SIP identity

  35. A SIP identity is a type of Uniform Resource Identifier (URI).Example:sip:bob@biloxi.com

  36. SIP also provides a secure URI (SIPS URI).Example:sips:bob@biloxi.com

  37. When using SIPS, all SIP messages are encrypted and sent via Transport Layer Security (TLS).

  38. RegistrationSIP provides a registration function that allows users to upload their current locations for use by proxy servers.

  39. Registration, (cont.) • The user registers with the registrar server. • The registrar is often co-located with the proxy server. • It is an important concept that the distinction between types of SIP servers is logical, not physical.

  40. Registration, (cont.) Upon initialization, and at periodic intervals, the SIP phone sends REGISTER messages to the SIP registrar.

  41. Registration, (cont.) The REGISTER messages associate the SIP or SIPS URI (sip:bob@biloxi.com) with the machine into which the user is currently logged.

  42. Registration, (cont.) The registrar writes this association, also called a binding, to a database, called the location service, where it can be used by the proxy.

  43. Registration, (cont.) The user is not limited to registering from a single device.

  44. Registration, (cont.) Similarly, more than one user can be registered on a single device at the same time.

  45. Let's look at the call process...

  46. The INVITE (message F1 in Figure 1) might look like this: INVITE sip:bob@biloxi.com SIP/2.0Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhdsMax-Forwards: 70To: Bob <sip:bob@biloxi.com>From: Alice <sip:alice@atlanta.com>;tag=1928301774Call-ID: a84b4c76e66710@pc33.atlanta.comCSeq: 314159 INVITEContact: <sip:alice@pc33.atlanta.com>Content-Type: application/sdpContent-Length: 142(Alice's SDP not shown)

  47. The 200 (OK) (message F9 in Figure 1) might look like this as Bob sends it out:SIP/2.0 200 OKVia: SIP/2.0/UDP server10.biloxi.com;branch=z9hG4bKnashds8;received=192.0.2.3Via: SIP/2.0/UDP bigbox3.site3.atlanta.com;branch=z9hG4bK77ef4c2312983.1;received=192.0.2.2Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds ;received=192.0.2.1To: Bob <sip:bob@biloxi.com>;tag=a6c85cfFrom: Alice <sip:alice@atlanta.com>;tag=1928301774Call-ID: a84b4c76e66710@pc33.atlanta.comCSeq: 314159 INVITEContact: <sip:bob@192.0.2.4>Content-Type: application/sdpContent-Length: 131(Bob's SDP not shown)

  48. Okay, let's review the SIPnetwork elements...

  49. Session Initiation Protocol The protocol works on a client-server model consisting of user agents, proxy server, registrars, location server and redirect server as network elements.

  50. User Agent User agent functions as the initiator of a SIP request (user agent client) or returns the responses (user agent server) on behalf of the end user.

More Related