1 / 30

Session Initiation Protocol Winelfred G. Pasamba

Session Initiation Protocol Winelfred G. Pasamba. Session Initiation Protocol. a signaling protocol for Internet conferencing, telephony, presence, events notification and instant messaging

everly
Download Presentation

Session Initiation Protocol Winelfred G. Pasamba

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 ProtocolWinelfred G. Pasamba

  2. Session Initiation Protocol • a signaling protocol for Internet conferencing, telephony, presence, events notification and instant messaging • an application-layer control (signaling) protocol for creating, modifying, and terminating sessions with one or more participants. These sessions include Internet telephone calls, multimedia distribution, and multimedia conferences.

  3. SIP Primitives: • call forwarding, including • the equivalent of 700-, 800- and 900- type calls; • call-forwarding no answer; • call-forwarding busy; • call-forwarding unconditional; • other address-translation services;

  4. SIP primitives: • Callee and calling ``number'' delivery, where numbers can be any (preferably unique) naming scheme; • personal mobility, i.e., the ability to reach a called party under a single, location-independent address even when the user changes terminals;

  5. SIP Primitives: • terminal-type negotiation and selection: a caller can be given a choice how to reach the party, e.g., via Internet telephony, mobile phone, an answering service, etc.; • terminal capability negotiation;

  6. SIP primitives: • Caller and callee authentication; • blind and supervised call transfer; • invitations to multicast conferences.

  7. SIP addresses users by an email-like address and re-uses some of the infrastructure of electronic mail delivery such as DNS MX records or using SMTP EXPN for address expansion. SIP addresses (URLs) can also be embedded in web pages. SIP is addressing-neutral, with addresses expressed as URLs of various types such as SIP, H.323 or telephone (E.164). Addressing

  8. Security • denial-of-service prevention • authentication (both user to user and proxy to user) • integrity protection • Encryption and privacy services

  9. SIP Status • It is currently (2003) the leading protocol for Voice over IP, gradually replacing H.323 in this role

  10. SIP Proxies • SIP makes use of elements called proxy servers to 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. • also provides a registration function that allows users to upload their current locations for use by proxy servers.

  11. Session Description Protocol • SIP uses the Session Description Protocol (SDP) to describe the media content of the session, e.g. what IP ports to use, the codec being used etc. In typical use, SIP "sessions" are simply packet streams of the Real Time Transport Protocol (RTP).

  12. Examples of SIP • Microsoft Windows Messenger uses SIP, implementing a SIP User Agent (end device). • various softswitch implementations, e.g. by Nortel, Sonus and many more • In June, 2003, Apple Computer announced, and released in public beta, iChat AV, a new version of their AOL Instant Messenger client that supports audio and video chat through SIP.

  13. Overview of Operation

  14. Alice & Bob • Each message is labeled with the letter "F" and a number for reference • Alice uses a SIP application on her PC (referred to as a softphone) to call Bob on his SIP phone over the Internet • are two SIP proxy servers that act on behalf of Alice and Bob to facilitate the session establishment

  15. atlanta.com . . . biloxi.com • . proxy proxy . • . . • Alice's . . . . . . . . . . . . . . . . . . . . Bob's • softphone SIP Phone • | | | | • | INVITE F1 | | | • |--------------->| INVITE F2 | | • | 100 Trying F3 |--------------->| INVITE F4 | • |<---------------| 100 Trying F5 |--------------->| • | |<-------------- | 180 Ringing F6 | • | | 180 Ringing F7 |<---------------| • | 180 Ringing F8 |<---------------| 200 OK F9 | • |<---------------| 200 OK F10 |<---------------| • | 200 OK F11 |<---------------| | • |<---------------| | | • | ACK F12 | • |------------------------------------------------->| • | Media Session | • |<================================================>| • | BYE F13 | • |<-------------------------------------------------| • | 200 OK F14 | • |------------------------------------------------->| • | |

  16. Alice & Bob • Alice "calls" Bob using his SIP identity, a type of Uniform Resource Identifier (URI) called a SIP URI • SIP URIs have a similar form to an email address, typically containing a username and a host name. (example “sip:bob@biloxi.com”, “sip:alice@atlanta.com”)

  17. Alice & Bob • Alice might have typed in Bob's URI or perhaps clicked on a hyperlink or an entry in an address book • SIP also provides a secure URI, called a SIPS URI (like sips:bob@biloxi.com) • A call made to a SIPS URI guarantees that secure, encrypted transport (namely TLS) is used to carry all SIP messages from the caller to the domain of the callee

  18. SIP like HTTP • SIP is based on an HTTP-like request/response transaction model • Each transaction consists of a request that invokes a particular method, or function, on the server and at least one response

  19. Request • INVITE sip:bob@biloxi.com SIP/2.0 • Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds • Max-Forwards: 70 • To: Bob <sip:bob@biloxi.com> • From: Alice <sip:alice@atlanta.com>;tag=1928301774 • Call-ID: a84b4c76e66710@pc33.atlanta.com • CSeq: 314159 INVITE • Contact: <sip:alice@pc33.atlanta.com> • Content-Type: application/sdp • Content-Length: 142

  20. Reply • 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: Bob <sip:bob@biloxi.com>;tag=a6c85cf • From: Alice <sip:alice@atlanta.com>;tag=1928301774 • Call-ID: a84b4c76e66710@pc33.atlanta.com • CSeq: 314159 INVITE • Contact: <sip:bob@192.0.2.4> • Content-Type: application/sdp • Content-Length: 131

  21. Registration • Registration is one way that the biloxi.com server can learn the current location of Bob • Upon initialization, and at periodic intervals, Bob's SIP phone sends REGISTER messages to a server in the biloxi.com domain known as a SIP registrar

  22. Registration • The REGISTER messages associate Bob's SIP or SIPS URI (sip:bob@biloxi.com) with the machine into which he is currently logged (conveyed as a SIP or SIPS URI in the Contact header field) • The registrar writes this association, also called a binding, to a database, called the location service, where it can be used by the proxy in the biloxi.com domain

  23. Removing Registration Bindings • Registrations are soft state and expire unless refreshed, but can also be explicitly removed • A UA requests the immediate removal of a binding by specifying an expiration interval of "0" for that contact address in a REGISTER request

  24. Discovering a Registrar • By configuration • Using the address-of-record sip:win@winwin.org -> sip:winwin.org • Multicastsip.mcast.net (224.0.1.75 for Ipv4)

  25. http://www.ietf.org/rfc/rfc3261.txt SIP Specification

  26. SIP – 3com

More Related