signaling, · 9 signaling …. rsvp is an ip signaling protocol to setup and maintain flow-specific...

17
1 Signaling …. Signaling, #11 11‐Signaling Chapter 9 Session Initialization Protocol (SIP) pp 297 to pp 306 Chapter 8 Integrated Services pp 238 to pp 242 Section 28.4.4 Session Initialization Protocol (SIP) pp 1005 to pp 1014 Section 30.3 Integrated Services pp 1062 to pp 1066 PowerPoint Section Page numbers and chapters from McGraw‐Hill Create book Page numbers and chapters from Data Communications and Networking 5th Edition 2 Signaling …. Signaling Exchange of messages related to call setup, monitoring, teardown, and network management information. Provides command and control infrastructure for communications networks. End device (e.g., Telephone)-to-Switch and Between Switches Signaling enables the advanced features of modern communications (e.g., telephone) systems

Upload: others

Post on 15-Mar-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

1Signaling ….

Signaling, #11

11‐Signaling Chapter 9 Session Initialization Protocol (SIP) 

pp 297 to pp 306

Chapter 8 Integrated Services pp 238 to pp 

242

Section 28.4.4 Session Initialization Protocol 

(SIP) pp 1005 to pp 1014

Section 30.3 Integrated Services                            

pp 1062 to pp 1066

PowerPoint 

Section

Page numbers and chapters from McGraw‐Hill 

Create book

Page numbers and chapters from Data 

Communications and Networking 5th Edition

2Signaling ….

SignalingExchange of messages related to call setup, monitoring, teardown, and network management information.Provides command and control infrastructure for communications networks.End device (e.g., Telephone)-to-Switch and Between SwitchesSignaling enables the advanced features of modern communications (e.g., telephone) systems

Page 2: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

3Signaling ….

SignalingIn-bandOut-of-bandCommon channel signaling Reduces connect time Increases signaling capacity Increases flexibility Enhanced customer services Common Channel Interoffice Signaling (CCIS) Common Signaling protocols

– SS #7,– RSVP,– SIP, – H.323

4Signaling ….

Requirements for signaling

STRICT performance and reliability requirements Fast call set up Always available

To grow and provide more services signaling code must be: Extensible Maintainable

Interoperability

Page 3: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

5Signaling ….

SS7

Signaling System 7Predominant control signaling network for PSTN.Signaling Point: use signaling to transmit and receive control

information .Signaling Link: interconnect signaling points.Signaling Transfer Point (STP): transfer signaling messages from one

link to another.Signaling Control Point (SCP): database for SS7 network.

6Signaling ….

SS7 Network

From: International Engineering Consortium, http://www.iec.org/online/tutorials/ip_in/topic01.html, 2002

SSP = SS7 Signaling PointsSCP = Service Control PointSTP = Signal Transfer Point

Page 4: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

7Signaling ….

OSI layer name SS7 layer name Functionality Internet example

Application Application ServiceElement

Application FTP

TransactionCapabilitiesApplication part

RPC RPC

Transport Signaling ConnectionControl Part

Connections,sequence numbers,segmentation andreassembly, flowcontrol

TCP

Network Message TransferPart 3 (MTP-3)

Routing IP

Datalink MTP-2 Framing , link-levelerror detection andretransmission

Ethernet

Physical MTP-1 Physical bit transfer Ethernet

Signaling System 7 (SS7) Protocols

From: An Engineering Approach to Computer Networks, S, Keshav

8Signaling ….

Resource ReSerVation Protocol (RSVP)

Designed to provide integrated services across the Internet. Host requests service with very specific connection

parameters from the network. Each network element along the specified path will receive a

requested for dedicated resources (e.g., bandwidth). If all nodes along the path dedicate the resources, the

reservation is complete and the host may begin use.

Page 5: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

9Signaling ….

RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routersMulticast-oriented Performs resource reservations for multipoint-multipoint applications Adapts changing group membership & routes Unicast, a special case

Simplex Requests resources from sender to receiver Bidirectional flows require separate reservations

Receiver-oriented Receivers initiate and maintain resource reservations

Soft-state at intermediate routers Reservation valid for specified duration Released after timeout, unless first refreshed

ReSerVation Protocol (RSVP)

Modified From: Communication Networks: Fundamentals Concepts and Key ArchitecturesAuthors: A. Leon-Garcia and I. Widjaja

10Signaling ….

RSVPprocess

Policycontrol

Admissioncontrol

Packetscheduler

Classi-fier

Appli-cation RSVP

process

Policycontrol

Admissioncontrol

Packetscheduler

Classi-fier

Routingprocess

Data Data

Data

RSVP

Host Router

RSVP

RSVP Architecture

Application requests QoS from RSVP processRSVP prepares & sends request messages to router

Policy control determines if application allowed to make requestAdmission control determines if resources available; sets up classifier & packet scheduler

Modified From: Communication Networks: Fundamentals Concepts and Key ArchitecturesAuthors: A. Leon-Garcia and I. Widjaja

Page 6: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

11Signaling ….

Resource ReSerVation Protocol (RSVP)

12Signaling ….

Sender multicasts PATH message that describes traffic flow Uses an existing routing protocol Each router stores address of previous RSVP router (PHOP) and inserts its address in last

hop field and forwards message, establishing the path in the reverse direction

?R1

R2

R3S Rx

PATH

RESV

PATH

RESVPATH

RESV

PATH

RESV? ?

Receiver unicasts RESV message to reserve resources (Can request confirmation from sender) Each router performs admission & policy control (Send PathErr message if rejected) Reservations may be modified or merged as RESV proceeds back to sender

Resource ReSerVation Protocol (RSVP)

Page 7: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

13Signaling ….

Voice over IP (VoIP)

A network that transmits voice packets over IP. Specialized signaling protocols are used to set

up and tear down calls, carry information required to locate users and negotiate capabilities. Voice signal is digitized, compressed and

converted to IP packets.

14Signaling ….

Voice over the Internet:Benefits

Can place a phone call to any other internet telephony user anywhere in the world and only pay for call to local ISPSimplifies voice/data conferencingEnhanced helpdesksEnhanced on-line order placement Integration offers potential to reduce administrative cost

Page 8: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

15Signaling ….

Voice over the Internet:Problems

Quality of Service The internet is currently “best effort” The internet is unreliable

Lack of standards ~~> plethora of proprietary solutions Lack of Interoperatability

Lack of high volume call processing capability 911

16Signaling ….

Session Initiation Protocol (SIP)

Session Initiation ProtocolComes from IETFAll telephone calls and video conference calls take place over the InternetPeople are identified by names or e-mail addresses, rather than by phone numbers.You can reach the callee, no matter where the callee roams, no matter what IP device the callee is currently using.

From Computer Networking: A Top Down Approach Featuring the Internet, 2nd edition. Jim Kurose, Keith Ross, Addison-Wesley, Copyright 1996-2002, J .F Kurose and K.W. Ross, All Rights Reserved

Page 9: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

17Signaling ….

Session Initiation ProtocolSession: association involving exchange of data between Internet end systems Internet telephone call; multimedia videoconference; instant

messaging; event notification

Session Initiation Protocol Setting up, maintaining, terminating session People & media devices Multicast or mesh of unicast connections Support for user mobility Over UDP or TCP

Modified from: Communication Networks: Fundamentals Concepts and Key ArchitecturesAuthors: A. Leon-Garcia and I. Widjaja

18Signaling ….

SIP Protocol

Text-based client-server protocol with syntax similar to HTTPTransaction: client request /server(s) response(s)Basic signaling through transactionsSIP Request: method invoked INVITE, ACK, OPTIONS, BYE, CANCEL, REGISTER INVITE & ACK used to initiate calls

Modified from: Communication Networks: Fundamentals Concepts and Key ArchitecturesAuthors: A. Leon-Garcia and I. Widjaja

Page 10: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

19Signaling ….

Session Initiation Protocol (SIP) Begins, changes and terminates network sessions. Provides advanced signaling and control to an IP network. User Agent: end users of the SIP network that initiate requests

and are the destination of services offered across the SIP network.

Registrar: manage user agents assigned to their network domain.

Proxy Server: forward SIP requests and responses. Redirect Server: take SIP requests and return location

information of another user agent or server. Location Server: locates the next-hop for an incoming session

request. Also, media GW and signaling GW for interworking with

PSTN.

20Signaling ….

(1)

INVITE sip: [email protected]= IN IPv4 192.168.12.5m=audio 35092 RTP/AVP 0

INVITE sip: [email protected]= IN IPv4 192.168.12.5m=audio 35092 RTP/AVP 0(2) (3)

(4)

(5) ringing

(6)

SIP/2.0 200 OKSIP/2.0 200 OK

(7)

ACK(8)

Media flow

(9)

proxy

registrar

Elements of Current Communication Paradigm Session Initiation Protocol (SIP) for Voice over IP (VoIP)

Modified From: Communication Networks: Fundamentals Concepts and Key ArchitecturesAuthors: A. Leon-Garcia and I. Widjaja

Page 11: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

21Signaling ….

SIP ServicesSetting up a call Provides mechanisms for

caller to let callee know she wants to establish a call

Provides mechanisms so that caller and callee can agree on media type and encoding.

Provides mechanisms to end call.

Determine current IP address of callee. Maps mnemonic

identifier to current IP address

Call management Add new media streams

during call Change encoding during

call Invite others Transfer and hold calls

From Computer Networking: A Top Down Approach Featuring the Internet, 2nd edition. Jim Kurose, Keith Ross, Addison-Wesley, Copyright 1996-2002, J .F Kurose and K.W. Ross, All Rights Reserved

22Signaling ….

Setting up a call to a known IP address

• Alice’s SIP invite message indicates her port number & IP address. Indicates encoding that Alice prefers to receive

(PCM ulaw)

• Bob’s 200 OK message indicates his port number, IP address & preferred encoding (GSM)

• SIP messages can be sent over TCP or UDP; here sent over RTP/UDP.

•Default SIP port number is 5060.

From Computer Networking: A Top Down Approach Featuring the Internet, 2nd edition. Jim Kurose, Keith Ross, Addison-Wesley, Copyright 1996-2002, J .F Kurose and K.W. Ross, All Rights Reserved

Page 12: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

23Signaling ….

Setting up a call (more)Codec negotiation: Suppose Bob doesn’t

have PCM ulaw encoder.

Bob will instead reply with 606 Not Acceptable Reply and list encoders he can use.

Alice can then send a new INVITE message, advertising an appropriate encoder.

Rejecting the call Bob can reject with

replies “busy,” “gone,” “payment required,” “forbidden”.

Media can be sent over RTP or some other protocol.Signaling and media can go over different paths

From Computer Networking: A Top Down Approach Featuring the Internet, 2nd edition. Jim Kurose, Keith Ross, Addison-Wesley, Copyright 1996-2002, J .F Kurose and K.W. Ross, All Rights Reserved

24Signaling ….

Example of SIP messageINVITE sip:[email protected] SIP/2.0

Via: SIP/2.0/UDP 167.180.112.24

From: sip:[email protected]

To: sip:[email protected]

Call-ID: [email protected]

Content-Type: application/sdp

Content-Length: 885

c=IN IP4 167.180.112.24

m=audio 38060 RTP/AVP 0

Notes:HTTP message syntaxsdp = session description protocolCall-ID is unique for every call.

• Here we don’t know Bob’s IP address. Intermediate SIP

servers will be necessary.

• Alice sends and receives SIP messages using the SIP default port number 506.

• Alice specifies in Via:header that SIP client sends and receives SIP messages over UDP

From Computer Networking: A Top Down Approach Featuring the Internet, 2nd edition. Jim Kurose, Keith Ross, Addison-Wesley, Copyright 1996-2002, J .F Kurose and K.W. Ross, All Rights Reserved

Page 13: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

25Signaling ….

Name translation and user location

Caller wants to call callee, but only has callee’s name or e-mail address.Need to get IP address of callee’s current host: user moves around DNS protocol user has different IP

devices (PC, PDA, car device)

Result can be based on: time of day (work, home) caller (don’t want boss to

call you at home) status of callee (calls sent to

voicemail when callee is already talking to someone)

Service provided by SIP servers:SIP registrar serverSIP proxy server

From Computer Networking: A Top Down Approach Featuring the Internet, 2nd edition. Jim Kurose, Keith Ross, Addison-Wesley, Copyright 1996-2002, J .F Kurose and K.W. Ross, All Rights Reserved

26Signaling ….

SIP Registrar

REGISTER sip:domain.com SIP/2.0

Via: SIP/2.0/UDP 193.64.210.89

From: sip:[email protected]

To: sip:[email protected]

Expires: 3600

When Bob starts SIP client, client sends SIP REGISTER message to Bob’s registrar server(similar function needed by Instant Messaging)

Register Message:

From Computer Networking: A Top Down Approach Featuring the Internet, 2nd edition. Jim Kurose, Keith Ross, Addison-Wesley, Copyright 1996-2002, J .F Kurose and K.W. Ross, All Rights Reserved

Page 14: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

27Signaling ….

SIP Proxy

Alice send’s invite message to her proxy server contains address sip:[email protected]

Proxy responsible for routing SIP messages to callee possibly through multiple proxies.

Callee sends response back through the same set of proxies.Proxy returns SIP response message to Alice contains Bob’s IP address

Note: proxy is analogous to local DNS server

From Computer Networking: A Top Down Approach Featuring the Internet, 2nd edition. Jim Kurose, Keith Ross, Addison-Wesley, Copyright 1996-2002, J .F Kurose and K.W. Ross, All Rights Reserved

28Signaling ….

(1) Jim sends INVITEmessage to umass SIPproxy. (2) Proxy forwardsrequest to upenn registrar server. (3) upenn server returnsredirect response,indicating that it should try [email protected]

(4) umass proxy sends INVITE to eurecom registrar. (5) eurecom regristrar forwards INVITE to 197.87.54.21, which is running keith’s SIP client. (6-8) SIP response sent back (9) media sent directly between clients. Note: also a SIP ack message, which is not shown.From Computer Networking: A Top Down Approach Featuring the Internet, 2nd edition. Jim Kurose, Keith Ross, Addison-Wesley, Copyright 1996-2002, J .F Kurose and K.W. Ross, All Rights Reserved

Example: Caller [email protected] with places a call to [email protected]

Page 15: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

29Signaling ….

Session Initiation Protocol (SIP) Network Elements

30Signaling ….

Signal Transport (SigTran)

Developed to allow VoIP networks to utilize the extensive functionality and superior performance of SS7. Interworks VoIP network with SS7/PSTN SS7 packets are encapsulated in IP packets by

Signaling GW and sent to Media GW Controller which makes routing decisions. Media stream (voice) is encapsulated in IP

packets by Media GW.

Page 16: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

31Signaling ….

H.323 Systems

Support for real-time multimedia communications on LANs & packet networksH.323 provides call control, multimedia management, bandwidth management, interfaces to other networksH.323 terminals carry voice, audio, video, data, or combinationGateways handle signaling messages between packet network & other networksGatekeeper handles call control inside H.323 netMultipoint control unit combine media streams

Modified From: Communication Networks: Fundamentals Concepts and Key ArchitecturesAuthors: A. Leon-Garcia and I. Widjaja

32Signaling ….

Comparison with H.323H.323 is another signaling protocol for real-time, interactiveH.323 is a complete, vertically integrated suite of protocols for multimedia conferencing: signaling, registration, admission control, transport and codecs.SIP is a single component. Works with RTP, but does not mandate it. Can be combined with other protocols and services.

H.323 comes from the ITU (telephony).SIP comes from IETF: Borrows much of its concepts from HTTP. SIP has a Web flavor, whereas H.323 has a telephony flavor. SIP uses the KISS principle: Keep it simple stupid.

From Computer Networking: A Top Down Approach Featuring the Internet, 2nd edition. Jim Kurose, Keith Ross, Addison-Wesley, Copyright 1996-2002, J .F Kurose and K.W. Ross, All Rights Reserved

Page 17: Signaling, · 9 Signaling …. RSVP is an IP signaling protocol to setup and maintain flow-specific state in hosts and routers Multicast-oriented Performs resource reservations for

33Signaling ….

Components of H.323 System

IP networkPublic telephone

network

Gatekeeper

Gateway

H.323 terminalH.323 terminal

Telephone

Multipointcontrol unit

H.323 is a set of standards to supportreal-time multimedia communications on Packet Networks, call control, management,and interfacing issues

Modified From: Communication Networks: Fundamentals Concepts and Key ArchitecturesAuthors: A. Leon-Garcia and I. Widjaja

34Signaling ….

Figure 8.42 : H.323 example

From: Data Communications and Networking 5th Edition by Behrouz A. Forouzan