Vous êtes sur la page 1sur 12

Technology Guide

Media Gateway Control Protocol (MGCP) Technology

Contents
Overview ....................................................................................................................................3 MGCP Architecture ...................................................................................................................3 MGCP Call Setup .....................................................................................................................5 MGCP Applications ...................................................................................................................7 MGCP Advantages/Disadvantages .........................................................................................7 IxVoice Solution ........................................................................................................................8 References ................................................................................................................................9 Glossary ................................................................................................................................. 10

Copyright 1998-2004 Ixia. All rights reserved. Ixia and its licensors retain all ownership rights to the IXIA 100, 400 and 1600 hardware and software and its documentation. Use of Ixia hardware and software is governed by the license agreement accompanying your original purchase. This manual, as well as the hardware and software described in it, is furnished under license and may only be used or copied in accordance with the terms of such license. The information in this manual is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Ixia. Ixia assumes no responsibility or liability for any errors or inaccuracies that may appear in this book. Except as permitted by such license, no part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Ixia. RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph 14(g)(iii) at FAR 52.227 and subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013. All other companies and product names and logos are trademarks or registered trademarks of their respective holders.

Ixia Corporate Headquarters 26601 W. Agoura Rd. Calabasas, CA 91302 USA Website General Investor Relations Sales Customer Support Training www.ixiacom.com info@ixiacom.com ir@ixiacom.com sales@ixiacom.com support@ixiacom.com training@ixiacom.com

Copyright 2004, Ixia

MGCP Technology

Media Gateway Control Protocol (MGCP) Technology


Overview
MGCP Media Gateway Control Protocol is the most important protocol in nextgeneration networks because it is responsible for implementing the migration from PSTN to IP telephony at large enterprises, ISPs, and carriers by converting todays TDM circuits into tomorrows voice packets. Media Gateway Controller Protocol (MGCP) is a device control protocol developed by IETF and destined to control devices, like Media Gateways and Integrated Access Devices (IADs), by using text format messages to set up, manage, and terminate multimedia communication sessions in a centralized communications system. The difference between MGCP and other multimedia control protocol systems is that MGCP allows the endpoints in the network to control the communication session. MGCP is a protocol that operates between a Media Gateway (MG) and a Media Gateway Controller (MGC) (also known as Call Agents or Soft Switches), allowing the Media Gateway Controller to control the Media Gateway. MGCP enforces the Media Gateway as the fundamental component of multipoint, next generation, converged networks. MGCP was developed as part of the convergence movement, which brings voice and data together on the packet-switched Internet.

MGCP Architecture

MGCP provides a general description of the Media Gateway/Media Gateway Controller model. It describes an architecture in which call control intelligence is outside the Media Gateways and handled by Media Gateway Controllers. These elements synchronize with one another to send coherent commands to the Media Gateways under their control. A control protocol is used to control VoIP gateways from the external call agents. The Media Gateway (MG) is a basic device that terminates PSTN switched circuits (trunks and local loops) and converts from pulse code modulated information to packetized information and vice versa. It also handles RTP media streams across the IP network. Examples of gateways: Trunking gateways interface between the telephone network and a VoIP network. Such gateways typically manage a large number of digital circuits.

Voice over ATM gateways operate much the same way as VoIP trunking gateways, except that they interface to an ATM network. Residential gateways provide a traditional analog interface to a VoIP network. Access gateways provide a traditional analog or digital PBX interface to a VoIP network. Business gateways provide a traditional digital PBX interface or an integrated soft PBX interface to a VoIP network. Network Access Servers can attach a modem to a telephone circuit and provide data access to the Internet. Circuit switches (packet switches) can offer a control interface to an external call control element. The Media Gateway Controller (MGC) handles registration, management, and control functionality of resources in the Media Gateway. It performs protocol
Copyright Ixia, 2004 3

MGCP Technology

conversion between PSTN signaling protocols and IP telephony. It gathers information about IP and circuit flows and provides that information to billing and management systems. The MGCP model consists of endpoints and connections: Endpoints are sources or sinks of data and could be physical or virtual. An example of a virtual endpoint is an audio source in an audio-content server. Creation of physical endpoints requires hardware installation, while creation of virtual endpoints can be done by software

A connection is an association between endpoints over which data is transmitted. Point-to-point and multipoint connections are possible. Connections may exists over IP networks, ATM networks, or internal connections such as TDM backplanes or gateway backplanes. For point-topoint connections, the endpoint of a connection could be in separate gateways or in the same gateway A basic network architecture is shown below:

Figure 1. Basic network architecture. This architecture allows for specialization of function and economies of scale and is expected to become the architecture of choice in next generation converged voice/ data IP networks.

Copyright Ixia, 2004

MGCP Technology

MGCP Call Setup

In a classic call scenario between two endpoints, the call agent(s) controlling the endpoints will establish two connections: C1 and C2. Each connection will be designated locally by a connection identifier, and will be characterized by connection attributes. Assume that User A wants to call User B. User A is located within the IP network, served from a residential gateway and User B is located off-net via the PSTN. When User A picks up the phone, a notify off hook message is sent from the residential gateway to the Call Agent. The Call Agent asks the gateway to create a connection on the endpoint that went off hook by sending a create connection command. The gateway acknowledges to the Call agent the create connection command plus provides a session description. The session description contains information required by a third party, in this case the trunking gateway (G6), to send packets toward the newly created connection. The Session Description Protocol (SDP) is used for this and contains such things as User As IP address, the UDP port to identify the session, packetization parameters such as compression techniques, and a media type such as RTP audio (voice). The trunking gateway responds to the Call Agent providing its own session description. The Call Agent uses a modify connection to provide the session description from the trunking gateway to the residential gateway. A two-way full duplex communication can now be set up between the residential gateway (IAD, MTA) and the trunking gateway (G6). When a connection is set up between endpoints,

RTP (Real-time Transport Protocol) is used. RTP is an IETF standard that provides endto-end network transport functions for real time applications such as voice, video, and multimedia. RTP runs on top of UDP because it has multiplexing capabilities, and acknowledgement of packet delivery is not required. When two endpoints are located on gateways that are managed by the same call agent, the creation is done via the following steps: 1. The Call Agent asks the first gateway (MG 1) to create a connection on the first endpoint. The gateway allocates resources to that connection, and respond to the command by providing a session description that contains IP address, UDP port, etc. 2. The Call Agent asks the second gateway to create a connection on the second endpoint. The command carries the session description provided by the first gateway. The gateway allocates resources to that connection, and respond to the command by providing its own session description. 3. The Call Agent uses a ModifyConnection command to provide this second session description to the first endpoint. Once this is done, communication can proceed in both directions. The Call Agent removes a connection by sending to the gateway a DeleteConnection command. The gateway may also, under some circumstances, inform a gateway that a connection could not be sustained.

MGCP Technology

Copyright Ixia, 2004 5

Channel 1

Endpoint 1 (MG 1) PSTN Signaling

MGC (Call Agent)

Endpoint 2 (MG 2) PSTN Signaling

Create Connection C1 Mode: Send/Receive 200 (Response) Use UDP port x/IPy.1

Create Connection C2 Mode: Send/Receive "Send to UDP port x/IPy.1" 200 (Response) "Use UDP port z/IPy.2"

Modify Connection "Send to UDP port z/IPy.2" 200

Modify Connection "Send to UDP port z/IPy.2" 200

Voice in RTP/UDP (Call in progress) Delete Connection C 1 Delete Connection C 2 250=Connection Deleted 250=Connection Deleted

Figure 2. MGCP call setup.

Copyright Ixia, 2004

MGCP Technology

MGCP Applications

MGCP architecture allows for specialization of function and economies of scale and is expected to become the architecture of choice in next generation converged voice/data IP networks. Currently, MGCP and Session Initiation Protocol (SIP) are the two carrier-class interoperability protocols with the most promise of becoming industry standards. The inherent simplicity of these protocols makes them easy to deploy in networks, and numerous industry vendors already

are implementing MGCP and SIP into Voice-over-Internet Protocol (VoIP) solutions. MGCP is central to VoIP solutions and may be integrated into products such as: Central Office Switches Gateways Network Access Servers Cable Modems PBXs, etc., in order to develop a convergent voice and data solution

MGCP Advantages/ Disadvantages

There are several advantages of using MGCP and IP-based communications systems over traditional telephony engineering models: Provides simplicity and reliability. Programming difficulties are concentrated on MGCs and not on the protocol. Service providers can develop reliable and cheap local access system. Provides synchronization through MGC. There are carrier class MGCP/Megaco media servers available today and deployed in the field. SIP lags MGCP/ Megaco in this respect. MGCP/Megaco is the only alternative possible today for tasks requiring signals and events, such as business conferencing or facsimile or more complex features. MGCP/Megacos event packages are mature, tested, and deployed, whereas SIPs event packages have not yet been defined.

Softswitches already use MGCP/ Megaco and event packages for Media Gateway control, and can reuse much of this functionality for media server control. SIP versus MGCP: The SIP protocol is better specified than MGCP. Work on the MGCP protocol was distracted by the introduction of Megaco, and the MGCP specification is consequently not as solid as it might be. But although Megaco itself is better specified than MGCP, its media server events packages lag MGCPs. As a result of SIPs popularity as an end-to-end signaling protocol, there are more powerful development tools available for SIP. This results in shorter development times and less expensive development. Application servers already have need to support SIP for signaling and HTTP for Web interfaces, and so dont need to add additional protocols in order to support SIP media servers.

MGCP Technology

Copyright Ixia, 2004 7

IxVoice Solution

MGCP bulk test library is included in the Ixias IxVoice framework being designed to simulate the Media Gateways functionality and test the Media Gateway Controllers. This module contains functions that implement the MGCP v0.1 as described in RFC 3435. The endpoints simulated by the MGCP module are registered at startup time, and the internal state-machine treats and responds to Caller Agent requests during the test execution. On a MGCP connection established using the test library functions, media streaming can be generated/ received using the functions from the RTP Module. Key features Fully automates the MGCP functionality testing. Simulates multiple Call Agents and Media Gateways. Generates and receives MGCP messages. Predefined test scenarios.

Test types The most important testing issues that can be performed using IxVoice: Conformance & Functionality testing conformance to the standards, determine if the events detected at the Media Gateway are correctly passed to the call agent. Interoperability compatibility with the existing implementations. Load testing (BHCC) because MG must support high density calls. Quality of Voice (QoV) for the media streaming generated using RTP. System integration testing because MG must be integrated in the existing infrastructure. As devices that support the converged carrier networks, Media Gateways are designed to support higher densities. These densities are measured as either digital signal per rack, per square foot, or per dollar. Devices under test Media Gateway. Media Gateway Controller (Call Agent). Applications Automated feature testing of Media Gateways and Call Agents under normal and load conditions. Protocol conformance and functionality testing.

Copyright Ixia, 2004

MGCP Technology

A generic IxVoice MGCP architecture

Figure 3. Basic network architecture.

References

RFC 3435 Media Gateway Control Protocol (MGCP) Version 1.0. RFC 3660 Basic MGCP Packages. RFC 3661 MGCP Return Code Usage.

RFC 3064 MGCP CAS (Channel Associated Signaling) Packages. RFC 3149 MGCP Business phone packages.

MGCP Technology

Copyright Ixia, 2004 9

Glossary
ATM Asynchronous Transfer Mode A high-speed network technology that is designed for LANs, WANs, carrier and service provider networks, and Internet core networks. It is a connection-oriented switching technology, as opposed to a connectionless technology such as IP. Voice encoding/decoding mechanism. Codecs are used to compress the voice signal into data packets. Each codec has different bandwidth requirements. Digital Subscriber Line a digital technology for transporting faster bit streams over the ordinary copper telephone lines. An H.323 terminal, gateway or Multipoint Controller Unit (MCU). An endpoint can call and be called and it can generate or end information streams. IBMs sixth generation of 9672 mainframe models, introduced in May, 1999. The client/server application-level protocol specifically designed to support hypermedia information systems. Web browsers use HTTP to connect with Web servers and access information on those servers. The protocol sets up a connection between Web browser and Web server, and then manages the exchange of information. A device through which both data and voice can be accessed over a DSL network. One of a large family of specifications that define the transmission of information over data networks. It tracks the Internet addresses of nodes, routes outgoing messages, and recognizes incoming messages. A general term for the technologies that use the Internet Protocol's packet-switched connections to exchange voice, fax, and other forms of information that have traditionally been carried over the dedicated circuit-switched connections of the public switched telephone network (PSTN). Provide connections into the Internet for home users and businesses. There are local, regional, national, and global ISPs. An ISP is usually a local service provider that is in the business of providing customers with Internet access and customer support.
MGCP Technology

Codec

DSL

Endpoint

G6 Generation 6 HTTP Hypertext Transfer Protocol

IAD Integrated Access Device IP Internet Protocol

IP Telephony - (Internet Protocol telephony, also known as Voice over IP Telephony)

ISPs Internet Service Providers

10

Copyright Ixia, 2004

Media Gateway

A basic device that terminates PSTN-switched circuits (trunks and local loops) and converts from pulse code modulated information to packetized information, and vice versa. It also handles RTP media streams across the IP network. Handles registration, management, and control functionality of resources in the Media Gateway. It performs protocol conversion between PSTN signaling protocols and IP telephony. It gathers information about IP and circuit flows and provides that information to billing and management systems. A device using which video and voice (multimedia) can be transmitted over cable data networks. Networks that break up a message into smaller packets before switching the packets to their required destination. Each packet contains a destination address so all packets in a single message do not have to travel by the same path. The destination computer reassembles the packets back into their proper sequence. A telephone switch located on the premises of a company. It allows telephone users to set up circuitswitched voice calls among other users in the same company or to set up calls across the public-switched telephone network. The worldwide voice telephone network that traditionally routes voice calls from one location to another. A protocol that is optimized in various ways for the delivery of real-time data such as live and/or interactive audio and video over IP packet-switched networks. RTP runs over UDP and uses its multiplexing and error-checking features. A protocol that describes a format for conveying descriptive information about multimedia sessions. This information includes session name and purpose, session time, type of media (voice or video), media format (MPEG, for example), transport protocol and port number, bandwidth requirements, and contact information.

Media Gateway Controller

MTA Multimedia Terminal Adapter Packet-switched networks

PBX Private Branch Exchange

PSTN Public Switched Telephone Network RTP Real Time Transport Protocol

SDP Session Description Protocol

MGCP Technology

Copyright Ixia, 2004

11

SIP Session Initiation Protocol

An ASCII-based protocol that provides telephony services similar to H.323, but is less complex and uses less resource. It creates, modifies, and terminates sessions with one or more participants. SIP is a request-response protocol, dealing with requests from clients and responses from servers. An out-of-band signaling system used by the carriers to set up telephone calls. It is a protocol standard defined by the ITU. Network elements in the publicswitched telephone network use SS7 to exchange information used not only to set up calls but to control the network. Part of SS7's call setup process is to create a circuit for the call through the telephone network and then to place the call on the circuit. A transport-layer protocol that has no error checking, flow control, or reliability mechanism. It is a besteffort, connectionless transport of voice, video, and data. This is used as a faster means of transport for voice calls. The capability to carry normal telephony-style voice over an IP-based Internet or data links with POTS-like functionality, reliability, and voice quality. VoIP enables a router to carry voice traffic (for example, telephone calls and faxes) over an IP network.

SS7 Signaling System 7

UDP User Datagram Protocol

VoIP Voice over IP

12

Copyright Ixia, 2004

MGCP Technology

Vous aimerez peut-être aussi