Media Gateway Control Protocol – Wikipedia
The Media Gateway Control Protocol (MGCP) is a signaling and call control communications protocol used in voice over IP (VoIP) telecommunication systems. It implements the media gateway control protocol architecture for controlling media gateways on Internet Protocol (IP) networks connected to the public switched telephone network (PSTN).[1] The protocol is a successor to the Simple Gateway Control Protocol (SGCP), which was developed by Bellcore and Cisco, and the Internet Protocol Device Control (IPDC).[2]
The methodology of MGCP reflects the structure of the PSTN with the power of the network residing in a call control center softswitch which is analogous to the central office in the telephone network. The endpoints are low-intelligence devices, mostly executing control commands from a call agent or media gateway controller in the softswitch and providing result indications in response. The protocol represents a decomposition of other VoIP models, such as H.323 and the Session Initiation Protocol (SIP), in which the endpoint devices of a call have higher levels of signaling intelligence.
MGCP is a text-based protocol consisting of commands and responses. It uses the Session Description Protocol (SDP) for specifying and negotiating the media streams to be transmitted in a call session and the Real-time Transport Protocol (RTP) for framing the media streams.
The media gateway control protocol architecture and its methodologies and programming interfaces are described in RFC 2805.[1]
MGCP is a master-slave protocol in which media gateways (MGs) are controlled by a call control agent or softswitch. This controller is called a media gateway controller (MGC) or call agent (CA). With the network protocol it can control each specific port on a media gateway. This facilitates centralized gateway administration and provides scalable IP telephony solutions. The distributed system is composed of at least one call agent and one or usually, multiple media gateways, which performs the conversion of media signals between circuit-switched and packet-switched networks, and at least one signaling gateway (SG) when connected to the PSTN.
MGCP presents a call control architecture with limited intelligence at the edge (endpoints, media gateways) and intelligence at the core controllers. The MGCP model assumes that call agents synchronize with each other to send coherent commands and responses to the gateways under their control.
The call agent uses MGCP to request event notifications, reports, status, and configuration data from the media gateway, as well as to specify connection parameters and activation of signals toward the PSTN telephony interface.
A softswitch is typically used in conjunction with signaling gateways, for access to Signalling System No. 7 (SS7) functionality, for example. The call agent does not use MGCP to control a signaling gateway; rather, SIGTRAN protocols are used to backhaul signaling between a signaling gateway and the call agents.
Typically, a media gateway may be configured with a list of call agents from which it may accept control commands.
In principle, event notifications may be sent to different call agents for each endpoint on the gateway, according to the instructions received from the call agents by setting the NotifiedEntity parameter. In practice, however, it is usually desirable that all endpoints of a gateway are controlled by the same call agent; other call agents are available to provide redundancy in the event that the primary call agent fails, or loses contact with the media gateway. In the event of such a failure it is the backup call agent's responsibility to reconfigure the media gateway so that it reports to the backup call agent. The gateway may be audited to determine the controlling call agent, a query that may be used to resolve any conflicts.
In case of multiple call agents, MGCP assumes that they maintain knowledge of device state among themselves. Such failover features take into account both planned and unplanned outages.
MGCP recognizes three essential elements of communication, the media gateway controller (call agent), the media gateway endpoint, and connections between these entities. A media gateway may host multiple endpoints and each endpoint should be able to engage in multiple connections. Multiple connections on the endpoints support calling features such as call waiting and three-way calling.
MGCP is a text-based protocol using a command and response model. Commands and responses are encoded in messages that are structured and formatted with the whitespace characters space, horizontal tab, carriage return, linefeed, colon, and full stop. Messages are transmitted using the User Datagram Protocol (UDP). Media gateways use the port number 2427, and call agents use 2727 by default.
The message sequence of command (or request) and its response is known as a transaction, which is identified by the numerical Transaction Identifier exchanged in each transaction. The protocol specification defines nine standard commands that are distinguished by a four-letter command verb: AUEP, AUCX, CRCX, DLCX, EPCF, MDCX, NTFY, RQNT, and RSIP. Responses begin with a three-digit numerical response code that identifies the outcome or result of the transaction.
Two verbs are used by a call agent to query the state of an endpoint and its associated connections.
Three verbs are used by a call agent to manage the connection to a media gateway endpoint.
One verb is used by a call agent to request notification of events occurring at the endpoint, and to apply signals to the connected PSTN network link, or to a connected telephony endpoint, e.g., a telephone.
One verb is used by an endpoint to indicate to the call agent that it has detected an event for which the call agent had previously requested notification with the RQNT command:
One verb is used by a call agent to modify coding characteristics expected by the line side of the endpoint:
One verb is used by an endpoint to indicate to the call agent that it is in the process of restarting:
Another implementation of the media gateway control protocol architecture is the H.248/Megaco protocol, a collaboration of the Internet Engineering Task Force (RFC 3525) and the International Telecommunication Union (Recommendation H.248.1). Both protocols follow the guidelines of the overlying media gateway control protocol architecture, as described in RFC 2805. However, the protocols are incompatible due to differences in protocol syntax and underlying connection model.
Read the original post:
Media Gateway Control Protocol - Wikipedia
- From CBS to TikTok, US media are falling to Trumps allies. This is how democracy crumbles | Owen Jones - The Guardian - October 31st, 2025 [October 31st, 2025]
- Denmark reportedly withdraws Chat Control proposal following controversy - therecord.media - October 31st, 2025 [October 31st, 2025]
- Opinion | Crypto and Trump Corrupted America - The New York Times - October 26th, 2025 [October 26th, 2025]
- After internal struggle, Colorados Libertarians look to pivot. It could impact Congress. - The Denver Post - October 26th, 2025 [October 26th, 2025]
- Argentina goes to polls amid economic crisis and Trump interference - The Guardian - October 26th, 2025 [October 26th, 2025]
- Five things to know about Argentina's pivotal midterm election - Purdue Exponent - October 26th, 2025 [October 26th, 2025]
- Milei promised to drain Argentinas swamp. Now hes sinki... - The Observer - October 26th, 2025 [October 26th, 2025]
- After Tunisian shipwreck kills 40, archbishop urges world to tackle migration crisis - Catholic News Agency - October 26th, 2025 [October 26th, 2025]
- Migrant prison farce proves the system is out of control - The Telegraph - October 26th, 2025 [October 26th, 2025]
- Labour blasted as 'too weak' to deport small boat migrants while pressure mounts on Keir Starmer to adopt Rwanda-style plan - GB News - October 26th, 2025 [October 26th, 2025]
- France backing away from pledge to intercept migrant boats, sources tell BBC - BBC - October 26th, 2025 [October 26th, 2025]
- Migrants abandon children on Spanish holidays so they can claim asylum - The Telegraph - October 26th, 2025 [October 26th, 2025]
- Ireland is making a dangerous mistake on immigration - The Telegraph - October 26th, 2025 [October 26th, 2025]
- Migrant sent back to France in one in, one out deal returns to UK - The Independent - October 26th, 2025 [October 26th, 2025]
- Syrian migrant with 'deep voice and receding grey hair' is ruled to be a child - GB News - October 26th, 2025 [October 26th, 2025]
- Stop lecturing migrant hotel protesters, Dublin is more proof of this total betrayal - Adam Brooks - GB News - October 26th, 2025 [October 26th, 2025]
- 'It's a FARCE!' Tom Harwood up in arms while Labour 'takes the mickey' with 'one in, one out' scheme - GB News - October 26th, 2025 [October 26th, 2025]
- Secret report reveals Home Office culture of defeatism on migration - The Telegraph - October 26th, 2025 [October 26th, 2025]
- Lammy: Catching migrant shows one in, one out is working - The Telegraph - October 26th, 2025 [October 26th, 2025]
- Migrant guilty of murdering woman with screwdriver - The Telegraph - October 26th, 2025 [October 26th, 2025]
- If UK controlled its own borders, killer illegal migrant would never have been here - Rakib Ehsan - GB News - October 26th, 2025 [October 26th, 2025]
- Mark White's Migration Monitor: The small boats farce continues - and the next act looks even darker - GB News - October 26th, 2025 [October 26th, 2025]
- Epping migrant STILL on the loose as David Lammy admits Ethiopian sex offender is 'at large in London' - GB News - October 26th, 2025 [October 26th, 2025]
- Cal State Invited Tech Companies to Remake Learning With A.I. - The New York Times - October 26th, 2025 [October 26th, 2025]
- Artificial intelligence (AI) - The Guardian - October 26th, 2025 [October 26th, 2025]
- Banking and Finance Symposium to Address AI, Technology Issues - University of Mississippi | Ole Miss - October 26th, 2025 [October 26th, 2025]
- AI Is Even Putting Animal Actors Out of Work - Futurism - October 26th, 2025 [October 26th, 2025]
- Impacts of artificial intelligence (AI) in teaching and learning of built environment students in a developing country - Taylor & Francis Online - October 26th, 2025 [October 26th, 2025]
- 3 Top Artificial Intelligence (AI) Stocks Ready for a Bull Run - The Motley Fool - October 26th, 2025 [October 26th, 2025]
- Israel playing catch-up in AI after two years of war - JNS.org - October 26th, 2025 [October 26th, 2025]
- Why Analysts See Alibabas Growth Story Changing With Cloud and AI Driving New Optimism - Yahoo Finance - October 26th, 2025 [October 26th, 2025]
- The AI Bubble Is Poised to Burst, Yet the Next One Is in the Works - 36Kr - October 26th, 2025 [October 26th, 2025]
- Beyond Chips: AI Infrastructure Spending Is Projected to Hit $490 Billion -- Who Benefits Most? - Yahoo Finance - October 26th, 2025 [October 26th, 2025]
- Jordan to lead MSUs AI efforts in new role, Willard named interim VP for research, economic development - Mississippi State University - October 26th, 2025 [October 26th, 2025]
- Artificial Intelligence and Medical Translation: An Editorial on the Ethical Considerations for Emerging Technologies in Dermatology - Cureus - October 26th, 2025 [October 26th, 2025]
- Scientists spent years teaching a robot to play sports. It's still terrible - BBC Science Focus Magazine - October 26th, 2025 [October 26th, 2025]
- There is no life: Kupiansks slow demise reflects the fate of cities on Ukraines frontline - The Guardian - October 26th, 2025 [October 26th, 2025]
- Ukraines Coalition of the Willing Has the Wind at Its Back - The New York Times - October 26th, 2025 [October 26th, 2025]
- Russia arrests Ukrainian biologist for backing curbs on Antarctic krill fishing - The Guardian - October 26th, 2025 [October 26th, 2025]
- Six metres below ground: inside the secret hospital treating Ukrainian soldiers injured by Russian drones - The Guardian - October 26th, 2025 [October 26th, 2025]
- Jet-powered bombs and planes-turned-missiles: Ukrainian and Russian militaries improvise and adapt in a battle of wits - CNN - October 26th, 2025 [October 26th, 2025]
- 3 Years Ago It Was a Casting Agency. Now It Has $1 Billion in Drone Contracts. - The New York Times - October 26th, 2025 [October 26th, 2025]
- Russia targets Kyiv with drones, killing 3 and wounding 29 - ABC News - Breaking News, Latest News and Videos - October 26th, 2025 [October 26th, 2025]
- More than Tomahawks: what Ukraines soldiers say they actually need - The Kyiv Independent - October 26th, 2025 [October 26th, 2025]
- Ukraines ingenuity alone will not be enough to win the war - The Independent - October 26th, 2025 [October 26th, 2025]
- After War Turned Their Fields Into Frontlines, Ukraines Farmers Return to Reclaim Them - UNITED24 Media - October 26th, 2025 [October 26th, 2025]
- Turkey urges US to act after accusing Israel of breaching Gaza ceasefire - Sky News - October 26th, 2025 [October 26th, 2025]
- President Erdoan visits Oman, his last stopover in the Gulf | Daily Sabah - Daily Sabah - October 26th, 2025 [October 26th, 2025]
- Erdoan to meet with DEM Party delegation on terror-free process | Daily Sabah - Daily Sabah - October 26th, 2025 [October 26th, 2025]
- Erdoan renews call for UN reform over Gaza in 80th anniversary message | Daily Sabah - Daily Sabah - October 26th, 2025 [October 26th, 2025]
- Foreign media: Russia reiterated its stance on full control of Donbas to the US last weekend - Bitget - October 23rd, 2025 [October 23rd, 2025]
- Health Ministry and PAHO Host Media Session on Upcoming National Tobacco Control Bill - Love FM Belize - October 19th, 2025 [October 19th, 2025]
- Ask Lucas: My teens social media obsession is out of control - Cleveland.com - October 17th, 2025 [October 17th, 2025]
- Molding the Message - China Media Project - October 17th, 2025 [October 17th, 2025]
- From clicks to curation: How publishers can reclaim control of the media ecosystem - Digiday - October 15th, 2025 [October 15th, 2025]
- Orbans Propaganda State in Hungary Is Starting to Show Cracks - The New York Times - October 15th, 2025 [October 15th, 2025]
- How Chioma Ikeh is helping small businesses take back control of their social media - Businessday NG - October 13th, 2025 [October 13th, 2025]
- Germany will not support 'Chat Control' message scanning in the EU - The Record from Recorded Future News - October 11th, 2025 [October 11th, 2025]
- Media: IDF will control 53% of Gaza in the first phase of the agreement - Baku.ws - October 11th, 2025 [October 11th, 2025]
- Rob Reiner Says U.S. Will Become an Autocracy if Trump Is Allowed to Control the Media and Commandeer the Election: We Have a Year to Stop Him -... - October 7th, 2025 [October 7th, 2025]
- Rob Reiner Warns Trump Wants "Control Of Media" To Steal 2026 Election - Deadline - October 7th, 2025 [October 7th, 2025]
- Move over Murdochs, the Ellisons are the new family dynasty shaking up US media - BBC - September 30th, 2025 [September 30th, 2025]
- How Trumps TikTok Deal Could Change the Future of US Media - TODAY.com - September 30th, 2025 [September 30th, 2025]
- Meghan Markles Media Battles: Control, Conflicts, and the Struggle for Credibility - vocal.media - September 28th, 2025 [September 28th, 2025]
- Trump announces deal to put TikTok under control of US investors - ABC News - Breaking News, Latest News and Videos - September 28th, 2025 [September 28th, 2025]
- President Tebbounes Media Exchange: Inflation Control, Electoral Reform, and a Drive Toward Modernization - - September 28th, 2025 [September 28th, 2025]
- Raptors GM Bobby Webster meets with the media ahead of first season with full team control - Toronto Star - September 28th, 2025 [September 28th, 2025]
- Murdochs TikTok? Trump offers allies another lever of media control - The Guardian - September 25th, 2025 [September 25th, 2025]
- Even legacy media admit left-wing violence is out of control - The Heartlander - September 25th, 2025 [September 25th, 2025]
- Capture the Media, Control the Culture? - The American Prospect - September 23rd, 2025 [September 23rd, 2025]
- Whats actually in the Media Control Act? - Maldives Independent - September 23rd, 2025 [September 23rd, 2025]
- Power Play: Murdochs, Ellison, and Dell Join Forces for TikTok Bid - International Business Times UK - September 23rd, 2025 [September 23rd, 2025]
- Jimmy Kimmel and the MAGA strong-arming of American media - Media Matters for America - September 19th, 2025 [September 19th, 2025]
- Abbreviated Pundit Roundup: Controlling the media controls the message - Daily Kos - September 19th, 2025 [September 19th, 2025]
- The 31-day sprint: a timeline of the "media control law" - Maldives Independent - September 19th, 2025 [September 19th, 2025]
- Trump Admin Says Framework Reached for U.S. Owners to Take Control of TikTok - Gizmodo - September 17th, 2025 [September 17th, 2025]
- "We have a prime ministerial republic"/ Media: Changes to the Constitution, control of the Assembly and the opposition - cna.al - September 17th, 2025 [September 17th, 2025]
- Rupert Murdochs family reaches deal on who will control media empire after his death - Toronto Sun - September 15th, 2025 [September 15th, 2025]
- Erdogan tightens his control over the media - Atalayar - September 13th, 2025 [September 13th, 2025]
- Social Media May Be Fueling Negative Reactions To Birth Control Pills, Study Finds - indica News - September 13th, 2025 [September 13th, 2025]