Presentation is loading. Please wait.

Presentation is loading. Please wait.

Session Initiation Protocol (SIP)

Similar presentations


Presentation on theme: "Session Initiation Protocol (SIP)"— Presentation transcript:

1 Session Initiation Protocol (SIP)

2 What is SIP? An application-layer protocol A 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 MEGACO RFC 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 User location User availability User capabilities Session setup
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)
A SIP identity is a type of Uniform Resource Identifier (URI). Example:

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

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

38 Registration SIP 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 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/2.0 Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bK776asdhds Max-Forwards: 70 To: Bob From: Alice Call-ID: CSeq: INVITE Contact: Content-Type: application/sdp Content-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/ OK Via: SIP/2.0/UDP server10.biloxi.com ;branch=z9hG4bKnashds8;received= Via: SIP/2.0/UDP bigbox3.site3.atlanta.com ;branch=z9hG4bK77ef4c ;received= Via: SIP/2.0/UDP pc33.atlanta.com ;branch=z9hG4bK776asdhds ;received= To: Bob From: Alice Call-ID: CSeq: INVITE Contact: Content-Type: application/sdp Content-Length: 131   (Bob's SDP not shown)

48 Okay, let's review the SIP network 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.

51 Registrar Registrars, typically co-located with proxy or redirect server, accept the registration requests from the users.

52 Registrars

53 Proxy Server Proxy server is an intermediate entity receiving requests from the client (acting as a Server) and forwards or re-initiates the request (acting as a Client) to the other servers. A proxy server can either be stateful or stateless. When stateful, it remembers the incoming requests and the associated outgoing requests and co-ordinates the responses accordingly.

54 SIP Proxy Servers

55 Redirect Server Redirect server returns the destination addresses to the receiving client to route them directly.

56 Location Server Location server is used by the SIP redirect or proxy server to obtain information about the called party's possible locations. This may come from the SIP server or other protocols (non-SIP) when externally located.

57 The End Source: RFC 3261 This presentation was prepared by Bob Young


Download ppt "Session Initiation Protocol (SIP)"

Similar presentations


Ads by Google