Media Gateway Control Protocol

In computing, Media Gateway Control Protocol (MGCP) is a protocol used within a Voice over IP system. MGCP is defined in an informational (non-standard) IETF document, RFC 3435 (http://www.ietf.org/rfc/rfc3435.txt), which obsoletes an earlier definition in RFC 2705. It superseded SGCP.

MGCP is an internal protocol used within a distributed system that can appear to the outside world as a single VoIP gateway.

This system is composed of a Call Agent, and a set of gateways, including at least one "media gateway" that performs the conversion of media signals between circuits and packets, and at least one "signaling gateway" when connected to an SS7 controlled network.

The "approved" IETF protocol for the same purpose, although not as widely implemented (as of 2004 Q3) as MGCP, is Megaco, defined in RFC 3015.

Contents

Architecture

MGCP is interesting because, although the Call Agent acts as a software switch for a VoIP network, it stays conspicuously uninvolved with the actual dirty work of encoding, decoding, and transferring the sound data.

An MGCP Call Agent really does nothing more than direct the MGs and SGs which do the work. In fact, the greatest challenge in creating a Call Agent appears to be implementing all of the myriad possibilities in the protocol. This is born out by the fact that there are numerious informational RFCs that describe expected behavior under a wide variety of circumstances.

In MGCP, every command receives an acknowledgement, has a transaction ID, and receives a response. It is best described as a subscription architecture, as the Call Agent tells the MGs and SGs what events it cares about and otherwise leaves them alone.

At any given time, an MG or SG has a "controlling" Call Agent that receives all notifications. Contact in any capacity (excepting auditing) by a Call Agent makes that Call Agent the new controlling Call Agent. Auditing is excepted to allow line monitoring and smart resource reservation without taking control of the clients. Due to the ability to audit who the current controlling Call Agent is, it also provides a slick way to determine if failover is needed when a Call Agent goes down. This is exceptionally important in the situation where a Call Agent is not down, but does lose connectivity with other Call Agents.

MGCP is designed around the idea that your multiple Call Agents will maintain knowledge of device state among themselves (presumably with an unspecified protocol) or rebuild it if necessary (in the face of catastrophic failure). Its failover features take into account both planned and unplanned outages.

Protocol Overview

MGCP packets are unlike what you find in many other protocols. Usually wrapped in UDP port 2427, the MGCP datagrams are formatted with whitespace, much like you would expect to find in TCP protocols. An MGCP packet is either a command or a response.

Commands begin with a four-letter verb. Responses begin with a three number response code.

Implementations

RFCs

A more complete list of RFCs to get started with if you are truly concerned with MGCP might be:

See also

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.
fr:MGCP

pt:MGCP

Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools