Voice over IP Protocols

Slides:



Advertisements
Similar presentations
SIP, Presence and Instant Messaging
Advertisements

SIP and Instant Messaging. SIP Summit SIP and Instant Messaging What Does Presence Have to Do With SIP? How to Deliver.
1 IP Telephony (VoIP) CSI4118 Fall Introduction (1) A recent application of Internet technology – Voice over IP (VoIP): Transmission of voice.
H. 323 Chapter 4.
A Presentation on H.323 Deepak Bote. , IM, blog…
RFC-4123 SIP-H.323 Interworking Requirements
Speaker: Yi-Lei Chang Advisor: Dr. Kai-Wei Ke 2012/11/28 H.323 Packet-based multimedia communications systems 1.
July 20, 2000H.323/SIP1 Interworking Between SIP/SDP and H.323 Agenda Compare SIP/H.323 Problems in interworking Possible solutions Conclusion Q/A Kundan.
Basics of Protocols SIP / H
H.323 Recommended by ITU-T for implementing packet-based multimedia conferencing over LAN that cannot guarantee QoS. Specifying protocols, methods and.
Voice over IP Fundamentals
© 2004, NexTone Communications. All rights reserved. Introduction to H.323.
Security in VoIP Networks Juan C Pelaez Florida Atlantic University Security in VoIP Networks Juan C Pelaez Florida Atlantic University.
Packet Based Multimedia Communication Systems H.323 & Voice Over IP Outline 1. H.323 Components 2. H.323 Zone 3. Protocols specified by H Terminal.
24/08/2005 IP Telephony1 Guided by: Presented by: Dr.S.K.Ghosh Nitesh Jain 05IT6008 M.Tech 1 st year.
VoIP EE 548 Ashish Kapoor. Characteristics – Centralized and Distributed Control H.323 pushes call control functionality to the endpoint, while still.
Chapter 5 standards for multimedia communications
Session Initiation Protocol (SIP) By: Zhixin Chen.
A Generic Event Notification System Using XML and SIP Knarig Arabshian and Henning Schulzrinne Department of Computer Science Columbia University
Application Layer Protocols For Real-Time Media Transmission
H.323: Multimedia Conferencing for Packet Switched Networks Dave Lindbergh Manager, Technical Standards Group PictureTel.
12/05/2000CS590F, Purdue University1 Sip Implementation Protocol Presented By: Sanjay Agrawal Sambhrama Mundkur.
Internet Multimedia Architecture
SIP vs H323 Over Wireless networks Presented by Srikar Reddy Yeruva Instructor Chin Chin Chang.
SIP, Session Initiation Protocol Internet Draft, IETF, RFC 2543.
An Introduction to SIP Moshe Sambol Services Research Lab November 18, 1998.
Internet Telephony Helen J. Wang Network Reading Group, Jan 27, 99 Acknowledgement: Jimmy, Bhaskar.
SIP 逄愛君 SIP&SDP2 Industrial Technology Research Institute Computer & Communication Research Laboratories Elgin Pang Outline.
1 Extending SIP Speaker: Hsuan-Ming Chen Adviser: Ho-Ting Wu Date: 2005/04/26.
Introduction to SIP Speaker: Min-Hua Yang Advisor: Ho-Ting Wu Date:2005/3/29.
Signaling interworks in PSTN and Voice-over-IP networks
Session Initiation Protocol Tutorial Ronen Ben-Yossef VP of Products - RADCOM
3. VoIP Concepts.
Session Initiation Protocol Team Members: Manjiri Ayyar Pallavi Murudkar Sriusha Kottalanka Vamsi Ambati Girish Satya LeeAnn Tam.
Protocols Suite By: Aleksandr Gidenko. What is H.323? H.323 is a multimedia conferencing protocol for voice, video and data over IP-based networks that.
Fall VON - September 28, 1999 C O N N E C T I N G T H E W O R L D W I T H A P P L I C A T I O N S SIP - Ready to Deploy Jim Nelson,
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 8 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 4 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
Call Control with SIP Brian Elliott, Director of Engineering, NMS.
Applied Communications Technology Voice Over IP (VOIP) nas1, April 2012 How does VOIP work? Why are we interested? What components does it have? What standards.
B2BUA – A New Type of SIP Server Name: Stephen Cipolli Title: System Architect Date: Feb. 12, 2004.
Session Initiation Protocol (SIP). What is SIP? An application-layer protocol A control (signaling) protocol.
Introduction to SIP Based ENUM IP Telephony Infrastructure 資策會 網路及通訊實驗室 Conference over IP Team 楊政遠 博士
H.323 An International Telecommunications Union (ITU) standard. Architecture consisting of several protocols oG.711: Encoding and decoding of speech (other.
A Conference Gateway Supporting Interoperability Between SIP and H.323 Jiann-Min Ho (Presenter) Jia-Cheng Hu Information Networking Institute Peter Steenkiste.
Presented By Team Netgeeks SIP Session Initiation Protocol.
VoN September ‘98 1 9/17/98 VoN Standards Update Jonathan Rosenberg Bell Laboratories September 17, 1998.
SIP:Session Initiation Protocol Che-Yu Kuo Computer & Information Science Department University of Delaware May 11, 2010 CISC 856: TCP/IP and Upper Layer.
Omar A. Abouabdalla Network Research Group (USM) SIP – Functionality and Structure of the Protocol SIP – Functionality and Structure of the Protocol By.
VoIP Signaling Protocols A signaling protocol is a common language spoken by telephones and call-management servers, the PSTN, and legacy PBX systems as.
RSVP Myungchul Kim From Ch 12 of book “ IPng and the TCP/IP protocols ” by Stephen A. Thomas, 1996, John Wiley & Sons. Resource Reservation.
Toshiba Confidential 1 Presented by: Philipe BC Da’Silva SESSION INITIATION PROTOCOL.
Session Initiation Protocol (SIP) Chapter 5 speaker : Wenping Zhang data :
SIP & H.323 Interworking Name: Amir Zmora Title: PM Date: Feb
CSE5803 Advanced Internet Protocols and Applications (14) Introduction Developed in recent years, for low cost phone calls (long distance in particular).
PTCL Training & Development1 H.323 Terminals Client end points on the network IP phones, PCs having own OS Terminals running an H.323 protocols and the.
1 Internet Telephony: Architecture and Protocols an IETF Perspective Authors:Henning Schulzrinne, Jonathan Rosenberg. Presenter: Sambhrama Mundkur.
The Session Initiation Protocol - SIP
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
S Postgraduate Course in Radio Communications. Application Layer Mobility in WLAN Antti Keurulainen,
Postech DP&NM Lab Session Initiation Protocol (SIP) Date: Seongcheol Hong DP&NM Lab., Dept. of CSE, POSTECH Date: Seongcheol.
سمینار تخصصی What is PSTN ? (public switched telephone network) تیرماه 1395.
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
Basics of Protocols SIP / H
IP Telephony (VoIP).
Session Initiation Protocol
Session Initiation Protocol (SIP)
Gary Thom President, Delta Information Systems, Inc.
SIP Basics Workshop Dennis Baron July 20, 2005.
VoIP Signaling Protocols Framework
Presentation transcript:

Voice over IP Protocols An Overview

What is in this Module Module Title: Voice over IP Protocol – An Overview Objectives: This module provides an introductory overview of the voice over IP protocols: SIP, H.323 and MGCP. At the end of this module, you will: Understand the basics of SIP and its architecture. Understand H.323 and how it compares to SIP. Understand MGCP. Target Audience: Marketing or business development professional who would like an introductory yet technical overview of the voice over IP protocols. Version 2 - March 9, 2001

Voice over IP Protocols Pictorial Overview

Call Control and Signaling SIP, H.323 and MGCP Call Control and Signaling Signaling and Gateway Control Media Audio/ Video H.323 H.225 H.245 Q.931 RAS SIP MGCP RTP RTCP RTSP TCP UDP H.323 – packet based multimedia communication system H.225 – call signaling protocol H.245 – call control protocol RAS – Registration Admission Signaling SIP – Session Initiation Protocol (RFC 2543) MGCP - Media Gateway Control Protocol H.248/Megaco – Media Gateway Control Protocol RTP – Real Time Transport Protocol (RFC 1889) RTCP – Real Time Transport Control Protocol (RFC 1889) RTSP – Real Time Streaming Protocol (RFC2324) UDP – User Datagram Protocol TCP - Transmission Control Protocol IP – Internet Protocol IP H.323 Version 1 and 2 supports H.245 over TCP, Q.931 over TCP and RAS over UDP. H.323 Version 3 and 4 supports H.245 over UDP/TCP and Q.931 over UDP/TCP and RAS over UDP. SIP supports TCP and UDP. Version 2 - March 9, 2001

Session Initiation Protocol

What is SIP? “ Session Initiation Protocol - An application layer signaling protocol that defines initiation, modification and termination of interactive, multimedia communication sessions between users. ” IETF RFC 2543 Session Initiation Protocol Version 2 - March 9, 2001

SIP Framework Email Session initiation. Multiple users. Interactive multimedia applications. Instant Messaging Personal Mobility Voice Calls Conferencing Email Distance Learning MPEG, MP3, Audio, HTML,XML Video Conferencing Version 2 - March 9, 2001

SIP Distributed Architecture SIP Components Location Server Redirect Server Registrar Server . Proxy Server Proxy Server PSTN User Agent Gateway Version 2 - March 9, 2001

User Agents An application that initiates, receives and terminates calls. User Agent Clients (UAC) – An entity that initiates a call. User Agent Server (UAS) – An entity that receives a call. Both UAC and UAS can terminate a call. Version 2 - March 9, 2001

Proxy Server An intermediary program that acts as both a server and a client to make requests on behalf of other clients. Requests are serviced internally or by passing them on, possibly after translation, to other servers. Interprets, rewrites or translates a request message before forwarding it. Version 2 - March 9, 2001

Location Server A location server is used by a SIP redirect or proxy server to obtain information about a called party’s possible location(s). Version 2 - March 9, 2001

Redirect Server A server that accepts a SIP request, maps the address into zero or more new addresses and returns these addresses to the client. Unlike a proxy server, the redirect server does not initiate its own SIP request. Unlike a user agent server, the redirect server does not accept or terminate calls. Version 2 - March 9, 2001

Registrar Server A server that accepts REGISTER requests. The register server may support authentication. A registrar server is typically co-located with a proxy or redirect server and may offer location services. Version 2 - March 9, 2001

SIP Messages – Methods and Responses SIP components communicate by exchanging SIP messages: SIP Methods: 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. Version 2 - March 9, 2001

SIP Headers SIP borrows much of the syntax and semantics from HTTP. A SIP messages looks like an HTTP message – message formatting, header and MIME support. An example SIP header: ----------------------------------------------------------------- SIP Header INVITE sip:5120@192.168.36.180 SIP/2.0 Via: SIP/2.0/UDP 192.168.6.21:5060 From: sip:5121@192.168.6.21 To: <sip:5120@192.168.36.180> Call-ID: c2943000-e0563-2a1ce-2e323931@192.168.6.21 CSeq: 100 INVITE Expires: 180 User-Agent: Cisco IP Phone/ Rev. 1/ SIP enabled Accept: application/sdp Contact: sip:5121@192.168.6.21:5060 Content-Type: application/sdp Version 2 - March 9, 2001

SIP Addressing The SIP address is identified by a SIP URL, in the format: user@host. Examples of SIP URLs: sip:hostname@vovida.org sip:hostname@192.168.10.1 sip:14083831088@vovida.org Version 2 - March 9, 2001

Process for Establishing Communication Establishing communication using SIP usually occurs in six steps: Registering, initiating and locating the user. Determine the media to use – involves delivering a description of the session that the user is invited to. Determine the willingness of the called party to communicate – the called party must send a response message to indicate willingness to communicate – accept or reject. Call setup. Call modification or handling – example, call transfer (optional). Call termination. Version 2 - March 9, 2001

Registration Each time a user turns on the SIP user client (SIP IP Phone, PC, or other SIP device), the client registers with the proxy/registration server. Registration can also occur when the SIP user client needs to inform the proxy/registration server of its location. The registration information is periodically refreshed and each user client must re-register with the proxy/registration server. Typically the proxy/registration server will forward this information to be saved in the location/redirect server. Location/ Redirect Server SIP Phone User Proxy/ Registration Server REGISTER REGISTER 200 200 SIP Messages: REGISTER – Registers the address listed in the To header field. 200 – OK. Version 2 - March 9, 2001

Simplified SIP Call Setup and Teardown INVITE Location/Redirect Server Proxy Server Proxy Server User Agent 302 (Moved Temporarily) ACK INVITE Call Setup INVITE 302 (Moved Temporarily) ACK INVITE 180 (Ringing) 180 (Ringing) 180 (Ringing) 200 (OK) 200 (OK) 200 (OK) ACK ACK ACK Media Path RTP MEDIA PATH Call Teardown BYE BYE BYE 200 (OK) 200 (OK) 200 (OK) Version 2 - March 9, 2001

SIP – Design Framework SIP was designed for: Integration with existing IETF protocols. Scalability and simplicity. Mobility. Easy feature and service creation. Version 2 - March 9, 2001

Integration with IETF Protocols (1) Other IETF protocol standards can be used to build a SIP based application. SIP can works with existing IETF protocols, for example: RSVP - to reserve network resources. RTP Real Time Protocol -to transport real time data and provide QOS feedback. RTSP Real Time Streaming Protocol - for controlling delivery of streaming media. SAP Session Advertisement Protocol - for advertising multimedia session via multicast. Version 2 - March 9, 2001

Integration with IETF Protocols (2) SDP Session Description Protocol – for describing multimedia sessions. MIME – Multipurpose Internet Mail Extension – defacto standard for describing content on the Internet. HTTP – Hypertext Transfer Protocol - HTTP is the standard protocol used for serving web pages over the Internet. COPS – Common Open Policy Service. OSP – Open Settlement Protocol. Version 2 - March 9, 2001

Scalability The SIP architecture is scalable, flexible and distributed. Functionality such as proxying, redirection, location, or registration can reside in different physical servers. Distributed functionality allows new processes to be added without affecting other components. Version 2 - March 9, 2001

Simplicity SIP is designed to be: “Fast and simple in the core.” “Smarter with less volume at the edge.” Text based for easy implementation and debugging. Version 2 - March 9, 2001

Mobility SIP supports user mobility by proxying and redirecting requests to a user’s current location. The user can be using a PC at work, PC at home, wireless phone, IP phone, or regular phone. The user must register their current location. The proxy server will forward calls to the user’s current location. Example mobility applications include presence and call forking. Version 2 - March 9, 2001

Feature Creation A SIP based system can support rapid feature and service creations. For example, features and services can be created using: Call Processing Language (CPL). Common Gateway Interface (CGI). Version 2 - March 9, 2001

Feature Creation (2) SIP can support these features and applications: Basic call features (call waiting, call forwarding, call blocking etc.). Unified messaging. Call forking. Click to talk. Presence. Instant messaging. Find me / Follow me. Version 2 - March 9, 2001

References For more information on SIP refer to: IETF http://www.ietf.org/html.charters/sip-charter.html Henning Schulzrinne's SIP page http://www.cs.columbia.edu/~hgs/sip/ Version 2 - March 9, 2001

H.323

What is H.323? “ Describes terminals and other entities that provide multimedia communications services over Packet Based Networks (PBN) which may not provide a guaranteed Quality of Service. H.323 entities may provide real-time audio, video and/or data communications. ” ITU-T Recommendation H.323 Version 4 Version 2 - March 9, 2001

H.323 Framework H.323 defines: Call establishment and teardown. Audio visual or multimedia conferencing. Version 2 - March 9, 2001

Multipoint Control Unit H.323 Components Gatekeeper Multipoint Control Unit Packet Based Networks Terminal Gateway Circuit Switched Networks Version 2 - March 9, 2001

H.323 Terminals H.323 terminals are client endpoints that must support: H.225 call control signaling. H.245 control channel signaling. RTP/RTCP protocols for media packets. Audio codecs. Video codecs support is optional. Version 2 - March 9, 2001

H.323 Gateway A gateway provides translation: For example, a gateway can provide translation between entities in a packet switched network (example, IP network) and circuit switched network (example, PSTN network). Gateways can also provide transmission formats translation, communication procedures translation, H.323 and non-H.323 endpoints translations or codec translation. Version 2 - March 9, 2001

H.323 Gatekeepers Gatekeepers provide these functions: Address translation. Admission control. Bandwidth control. Zone management. Call control signaling (optional). Call authorization (optional). Bandwidth management (optional). Call management (optional). Gatekeepers are optional but if present in a H.323 system, all H.323 endpoints must register with the gatekeeper and receive permission before making a call. Version 2 - March 9, 2001

H.323 Multipoint Control Unit MCU provide support for conferences of three or more endpoints. An MCU consist of: Multipoint Controller (MC) – provides control functions. Multipoint Processor (MP) – receives and processes audio, video and/or data streams. Version 2 - March 9, 2001

H.323 is an “Umbrella” Specification Media H.261 and H.263 – Video codecs. G.711, G.723, G.729 – Audio codecs. RTP/RTCP – Media. H.323 Call Control and Signaling Data/Fax Media IP UDP RTP Audio Codec G.711 G.723 G.729 Video H.261 H.263 RTCP H.225 Q.931 RAS H.245 T.120 T.38 TCP Data/Fax T.120 – Data conferencing. T.38 – Fax. Call Control and Signaling H.245 - Capabilities advertisement, media channel establishment, and conference control. H.225 Q.931 - call signaling and call setup. RAS - registration and other admission control with a gatekeeper. Version 2 - March 9, 2001

Other ITU H. Recommendation that work with H.323 Protocol Description H.235 Specifies security and encryption for H.323 and H.245 based terminals. H.450.N H.450.1 specifies framework for supplementary services. H.450.N recommendation specifies supplementary services such as call transfer, call diversion, call hold, call park, call waiting, message waiting indication, name identification, call completion, call offer, and call intrusion. H.246 Specifies internetworking of H Series terminals with circuit switched terminals. Version 2 - March 9, 2001

H.323 Components and Signaling H.225/RAS messages over RAS channel H.225/RAS messages over RAS channel H.225/Q.931 (optional) H.225/Q.931 (optional) Gatekeeper H.245 messages (optional) H.245 messages (optional) H.225/Q.931 messages over call signaling channel Gateway PSTN H.245 messages over call control channel Terminal H.245 – A protocol for capabilities advertisement, media channel establishment and conference control. H.225 - Call Control. - Q.931 – A protocol for call control and call setup. - RAS – Registration, admission and status protocol used for communicating between an H.323 endpoint and a gatekeeper. Version 2 - March 9, 2001

Process for Establishing Communication Establishing communication using H.323 may occurs in five steps: Call setup. Initial communication and capabilities exchange. Audio/video communication establishment. Call services. Call termination. Version 2 - March 9, 2001

Simplified H.323 Call Setup Both endpoints have previously registered with the gatekeeper. Terminal A initiate the call to the gatekeeper. (RAS messages are exchanged). The gatekeeper provides information for Terminal A to contact Terminal B. Terminal A sends a SETUP message to Terminal B. Terminal B responds with a Call Proceeding message and also contacts the gatekeeper for permission. Terminal B sends a Alerting and Connect message. Terminal B and A exchange H.245 messages to determine master slave, terminal capabilities, and open logical channels. The two terminals establish RTP media paths. Terminal A Gatekeeper Terminal B 1. ARQ 2. ACF 3. SETUP 4. Call Proceeding 5. ARQ 6. ACF 7.Alerting 8.Connect H.245 Messages RTP Media Path RAS messages Call Signaling Messages Note: This diagram only illustrates a simple point-to-point call setup where call signaling is not routed to the gatekeeper. Refer to the H.323 recommendation for more call setup scenarios. Version 2 - March 9, 2001

Reference for key feature summary Versions of H.323 Version Date Reference for key feature summary H.323 Version 1 New release. Refer to the specification. http://www.packetizer.com/iptel/h323/ May 1996 H.323 Version 2 http://www.packetizer.com/iptel/h323/whatsnew_v2.html January 1998 H.323 Version 3 September 1999 http://www.packetizer.com/iptel/h323/whatsnew_v3.html H.323 Version 4 November 2000 http://www.packetizer.com/iptel/h323/whatsnew_v4.html Version 2 - March 9, 2001

References For more information on H.323 refer to: ITU-T Open H.323 http://www.itu.int/itudoc/itu-t/rec/index.html Packetizer http://www.packetizer.com/iptel/h323/ Open H.323 http://www.openH323.org Version 2 - March 9, 2001

Comparing SIP and H.323

Comparing SIP and H.323 - Similarities Functionally, SIP and H.323 are similar. Both SIP and H.323 provide: Call control, call setup and teardown. Basic call features such as call waiting, call hold, call transfer, call forwarding, call return, call identification, or call park. Capabilities exchange. Version 2 - March 9, 2001

Comparing SIP and H.323 - Strengths H.323 – Defines sophisticated multimedia conferencing. H.323 multimedia conferencing can support applications such as whiteboarding, data collaboration, or video conferencing. SIP – Supports flexible and intuitive feature creation with SIP using SIP-CGI (SIP-Common Gateway Interface) and CPL (Call Processing Language). SIP – Third party call control is currently only available in SIP. Work is in progress to add this functionality to H.323. Version 2 - March 9, 2001

Table 1 - SIP and H.323 Information Standards Body Relationship Origins Client Core servers Current Deployment Interoperability SIP H.323 IETF. ITU. Peer-to-Peer. Peer-to-Peer. Internet based and web centric. Borrows syntax and messages from HTTP. Telephony based. Borrows call signaling protocol from ISDN Q.SIG. Intelligent user agents. Intelligent H.323 terminals. SIP proxy, redirect, location, and registration servers. H.323 Gatekeeper. Widespread. Interoperability testing between various vendor’s products is ongoing at SIP bakeoffs. SIP is gaining interest. IMTC sponsors interoperability events among SIP, H.323, and MGCP. For more information, visit: http://www.imtc.org/ Version 2 - March 9, 2001

Table 2 - SIP and H.323 Information SIP H.323 Capabilities Exchange Supported by H.245 protocol. H.245 provides structure for detailed and precise information on terminal capabilities. SIP uses SDP protocol for capabilities exchange. SIP does not provide as extensive capabilities exchange as H.323. Control Channel Encoding Type Binary ASN.1 PER encoding. Text based UTF-8 encoding. Server Processing Version 1 or 2 – Stateful. Version 3 or 4 – Stateless or stateful. Stateless or stateful. Quality of Service Bandwidth management/control and admission control is managed by the H.323 gatekeeper. The H323 specification recommends using RSVP for resource reservation. SIP relies on other protocols such as RSVP, COPS, OSP to implement or enforce quality of service. Version 2 - March 9, 2001

Table 3 - SIP and H.323 Information SIP H.323 Security Registration - If a gatekeeper is present, endpoints register and request admission with the gatekeeper. Authentication and Encryption -H.235 provides recommendations for authentication and encryption in H.323 systems. Registration - User agent registers with a proxy server. Authentication - User agent authentication uses HTTP digest or basic authentication. Encryption - The SIP RFC defines three methods of encryption for data privacy. Endpoint Location and Call Routing Uses E.164 or H323ID alias and a address mapping mechanism if gatekeepers are present in the H.323 system. Gatekeeper provides routing information. Uses SIP URL for addressing. Redirect or location servers provide routing information. Version 2 - March 9, 2001

Table 4 – SIP and H.323 Information SIP H.323 Features Basic call features. Conferencing Basic conferencing without conference or floor control. Comprehensive audiovisual conferencing support. Data conferencing or collaboration defined by T.120 specification. Service or Feature Creation Supports flexible and intuitive feature creation with SIP using SIP-CGI and CPL. Some example features include presence, unified messaging, or find me/follow me. H.450.1 defines a framework for supplementary service creation. Note: Basic call features include: call hold, call waiting, call transfer, call forwarding, caller identification, and call park. Version 2 - March 9, 2001

Reference This section cites a document that provides a comprehensive comparison on H.323 and SIP: Dalgic, Ismail. Fang, Hanlin. “Comparison of H.323 and SIP for IP Telephony Signaling” in Proc. of Photonics East, (Boston, Massachusetts), SPIE, Sept. 1999. http://www.cs.columbia.edu/~hgs/papers/others/ Dalg9909_Comparison.pdf Version 2 - March 9, 2001

Media Gateway Control Protocol MGCP Media Gateway Control Protocol

What is MGCP? “ Media Gateway Control Protocol - A protocol for controlling telephony gateways from external call control elements called media gateway controllers or call agents. ” IETF RFC 2705 Media Gateway Control Protocol Version 2 - March 9, 2001

Components Call agent or media gateway controller Provides call signaling, control and processing intelligence to the gateway. Sends and receives commands to/from the gateway. Gateway Provides translations between circuit switched networks and packet switched networks. Sends notification to the call agent about endpoint events. Execute commands from the call agents. Call Agent or Media Gateway Controller (MGC) Call Agent or Media Gateway Controller (MGC) SIP H.323 MGCP MGCP Media Gateway (MG) Media Gateway (MG) Version 2 - March 9, 2001

Call Agent Media Gateway Controller Simplified Call Flow When Phone A goes offhook Gateway A sends a signal to the call agent. Gateway A generates dial tone and collects the dialed digits. The digits are forwarded to the call agent. The call agent determines how to route the call. The call agent sends commands to Gateway B. Gateway B rings phone B. The call agent sends commands to both gateways to establish RTP/RTCP sessions. Call Agent Media Gateway Controller MGCP MGCP RTP/RTCP Gateway A Gateway B Analog Phone A Analog Phone B Version 2 - March 9, 2001

MGCP Commands Call Agent Commands: Gateway Commands: Notify EndpointConfiguration NotificationRequest CreateConnection ModifyConnection DeleteConnection AuditEndpoint AuditConnection Gateway Commands: Notify DeleteConnection RestartInProgress Version 2 - March 9, 2001

Characteristics of MGCP A master/slave protocol. Assumes limited intelligence at the edge (endpoints) and intelligence at the core (call agent). Used between call agents and media gateways. Differs from SIP and H.323 which are peer-to-peer protocols. Interoperates with SIP and H.323. Version 2 - March 9, 2001

Call Agent/ Media Gateway Controller MGCP, SIP and H.323 MGCP divides call setup/control and media establishment functions. MGCP does not replace SIP or H.323. SIP and H.323 provide symmetrical or peer-to-peer call setup/control. MGCP interoperates with H.323 and SIP. For example, A call agent accepts SIP or H.323 call setup requests. The call agent uses MGCP to control the media gateway. The media gateway establishes media sessions with other H.323 or SIP endpoints. Call Agent/ Media Gateway Controller Media Gateway MGCP H.323 Gateway H.323 Gateway Media RTP/RTCP In this example, an H.323 gateway is “decomposed” into: A call agent that provides signaling. A gateway that handles media. MGCP protocol is used to control the gateway. Version 2 - March 9, 2001

Call Agent/ Media Gateway Controller Example Comparison H.323 A user picks up analog phone and dials a number. The gateway determines how to route the call. The two gateways exchange capabilities information. The terminating gateway rings the phone. The two gateways establish RTP/RTCP session with each other. MGCP A user picks up analog phone and dials a number. The gateway notifies call agent of the phone (endpoint) event. The Call agent determines capabilities, routing information, and issues a command to the gateways to establish RTP/RTCP session with other end. H.323 Gateway H.323 Gateway 3 2 Call Agent/ Media Gateway Controller 5.RTP/RTCP 1 4 1 Analog Phone Analog Phone RTP/RTCP Gateway A Gateway B Analog Phone Analog Phone Version 2 - March 9, 2001

What is Megaco? A protocol that is evolving from MGCP and developed jointly by ITU and IETF: Megaco - IETF. H.248 or H.GCP - ITU. For more information refer to: IETF - http://www.ietf.org/html.charters/megaco-charter.html Packetizer - http://www.packetizer.com/iptel/h248/ Version 2 - March 9, 2001

References For more information on MGCP refer to: IETF http://www.ietf.org/rfc/rfc2705.txt?number=2705 Version 2 - March 9, 2001

Summary

Summary SIP and H.323 are comparable protocols that provide call setup, call teardown, call control, capabilities exchange, and supplementary features. MGCP is a protocol for controlling media gateways from call agents. In a VoIP system, MGCP can be used with SIP or H.323. SIP or H.323 will provide the call control functionality and MGCP can be used to manage media establishment in media gateways. Version 2 - March 9, 2001

Additional References

General VoIP Reference Pulver – IP Telephony News http://www.pulver.com Internet Telephony http://www.internettelephony.com An overview poster of the SIP, MGCP, and H323 protocols. http://www.protocols.com/voip/posvoip.pdf Version 2 - March 9, 2001

End of Module This is the end of the VoIP Protocol Overview training module. For additional training and documentation visit us at www.vovida.org. Version 2 - March 9, 2001