380 likes | 661 Views
Presentation 8 - MGCP and Megaco/H.248. Objectives. At the end of this presentation, you will be able to:. Explain the difference between MGCP and Megaco/H.248. Explain the difference between a Media Gateway Controller (MGC) and a Media Gateway (MG).
E N D
Objectives At the end of this presentation, you will be able to:
Explain the difference between MGCP and Megaco/H.248. • Explain the difference between a Media Gateway Controller (MGC) and a Media Gateway (MG). • Describe the actions of an MGC and MG during an MGCP call. • Recognize the difference between MGCP commands and Megaco commands.
Internet (Data) PSTN (Voice) Cable (Video)
Why so many call processing (signaling) protocols? • H.323 has its roots the telephone world. • SIP has its roots the Internet world. • MGCP and Megaco/H.248 has its roots in the cable world.
Media Gateway Control Protocol (MGCP) IETF Media Gateway Control Protocol (Megaco/H.248) ITU IETF Simple Gateway Control Protocol (SGCP) Internet Protocol Device Control (IPDC)
What is MGCP? • The call processing (signaling) protocol for voice/data/ and video that was the predecessor of Megaco. • Originally released as an “informational document” rather than a standard. • Equipment was developed based on this protocol some of which is still being used and marketed today. • Considered by most to be “on its way out.”
What is MGCP? • Another multimedia signaling protocol. • A protocol that acts as an interface between a media gateway controller and a media gateway.
VoIP Paradigms • H.323 – Terminals, Gateways, Gatekeepers, and Multipoint Control Units (MCUs). • SIP – Clients and Servers • MGCP – Call Agents, Signaling Gateways, and Media Gateways.
MGCP Terms • Media Gateway Controller (MGC) –Handles call signaling and controls media gateways. • Call Agent (CA) – Another term for a Media Gateway Controller (MGC) • Media Gateway (MG) – Handles the conversion and transfer of the voice stream.
Separation of Call Signaling from Media Transfer. Gateway Gateway Call Signaling over IP Call Signaling Call Signaling Media Transfer over IP Media Transfer Media Transfer
The MGCP Architecture Media Gateway Controller (MGC) Media Gateway Controller (MGC) Call Signaling over IP Media Transfer over IP Media Gateway (MG) Media Gateway (MG)
ACK Phone-2 Internet Phone-1 Hey MG-1! Monitor Phone 1 for an “off hook” condition. Media Gateway MG-2 Media Gateway MG-1 Media Gateway Controller (MGC) Routing Database
Hey MGC! Phone-1 just went off-hook. Buzzzzz… ACK. Send him a dial tone. Roger. Dial tone sent. Phone-2 Internet Phone-1 Media Gateway MG-2 Media Gateway MG-1 Media Gateway Controller (MGC) Routing Database
Okay, he dialed 1-269-925-6000. 1-269- 925-6000 ACK. I have them. ACK. Collect the dialed digits. Roger. I will collect the digits. Phone-2 Internet Phone-1 Media Gateway MG-2 Media Gateway MG-1 Media Gateway Controller (MGC) Routing Database
Roger. I will do that. Phone-2 Internet Phone-1 Media Gateway MG-2 Media Gateway MG-1 Monitor for “On hook” condition. Media Gateway Controller (MGC) Routing Database
Roger. Here is how I have it set up….. Phone-2 Internet Phone-1 Media Gateway MG-2 Media Gateway MG-1 Seize the circuit and set it up like this…. Media Gateway Controller (MGC) Routing Database
Phone-2 Internet Phone-1 Hey Database! Get me the IP address of and best route to this number? Media Gateway MG-2 Media Gateway MG-1 Here is the information you requested. Media Gateway Controller (MGC) Routing Database
Phone-2 Internet Phone-1 Media Gateway MG-2 Media Gateway MG-1 Media Gateway Controller (MGC) Routing Database
Roger. Here is how I have it set up….. Phone-2 Internet Phone-1 Media Gateway MG-2 Media Gateway MG-1 Hey MG-2. Seize the circuit to phone-2 and set it up like this…. Media Gateway Controller (MGC) Routing Database
Hey MG-1. Send “comfort ringing tones” to phone-1. Ring… Ring… Roger. Sending “comfort ringing tones”. Roger. Ringing phone-2. Phone-2 Internet Phone-1 Ring… Ring… Media Gateway MG-2 Media Gateway MG-1 Hey MG-2. Ring phone-2. Media Gateway Controller (MGC) Routing Database
Hey MG-1. Stop the “comfort ringing tones” to phone-1. Ring… Ring… Roger. “Comfort ringing tones” stopped. Hey MGC. She just picked up the phone. Phone-2 Internet Phone-1 Ring… Ring… Media Gateway MG-2 Media Gateway MG-1 Media Gateway Controller (MGC) Routing Database
Hey MG-1. Set-up a full duplex connection to MG-2. Roger. Full duplex connection set-up.. Phone-2 Internet Phone-1 Media Gateway MG-2 Media Gateway MG-1 Media Gateway Controller (MGC) Routing Database
Phone-2 Internet Phone-1 Media Gateway MG-2 Media Gateway MG-1 Media Gateway Controller (MGC) Routing Database
Hey MGC. Phone-1 Just hung up. Phone-2 Internet Phone-1 Statistics Report Statistics Report Media Gateway MG-2 Media Gateway MG-1 Hey MG-1 and MG-2. Delete the connection. Media Gateway Controller (MGC) Routing Database
ACK Phone-2 Internet Phone-1 Hey MG-1! Monitor Phone 1 for an “off hook” condition. Media Gateway MG-2 Media Gateway MG-1 Media Gateway Controller (MGC) Routing Database
MGCP Commands • CreateConnection CRCX • DeleteConnection DLCX • ModifyConnection MDCX • NotificationRequest RQNT • Notify NTFY • AuditEndPoint AUEP • AuditConnection AUCX
MGCP Review • Most of the intelligence resides in the gateway controller. • The gateways require little intelligence and are therefore simple and inexpensive. • The protocol is considered to be “on its way out” having been upstaged by Megaco.
Megaco/H.248 • Grew out of MGCP. • Joint effort by ITU and IETF. • Maintains many of MGCP’s characteristics and features. • Uses different commands, adds new capabilities, and has two important new abstractions: Terminations and Contexts
Termination • Software construct or abstraction. • Somewhat like a port or a socket in TCP/IP. • An entity that sources or sinks a media stream. • May be physical or logical.
Context • A collection of terminations. • For example, all the terminations participating in a conference might constitute a single Context. • Or, multiple data paths (voice, data, video) used by a single participant might constitute a single Context. • All terminations are placed in a context. Any termination not in a specified Context, by default, falls into a Null Context.
Megaco Commands • Add termination • Subtract termination • Modify termination • Move termination • Notify • Audit capability • Audit value • Service change