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
- Bitfocus Buttons Enterprise Edition Unveiled at IBC2025 with Advanced Features - Digital Studio India - July 10th, 2025 [July 10th, 2025]
- Assembly Launches 'Assembly Control' to Elevate Brand Safety, Suitability, and Campaign Performance in Programmatic Media - Yahoo Finance - July 10th, 2025 [July 10th, 2025]
- Bluesky Gives Users More Control Over their Notifications - Social Media Today - July 8th, 2025 [July 8th, 2025]
- Spin Control: Media struggles after Trump swears with cameras rolling - The Spokesman-Review - July 8th, 2025 [July 8th, 2025]
- Beyond banks and brokers: All about decentralized finance (DeFi) - Britannica - July 8th, 2025 [July 8th, 2025]
- The Future of Crypto Payroll Security: Bitchat and Decentralized Messaging - OneSafe - July 8th, 2025 [July 8th, 2025]
- Paradigm leads $11.5 million funding round in Kuru Labs, a decentralized exchange blending CLOBs and AMMs - The Block - July 8th, 2025 [July 8th, 2025]
- Decentralized Payroll: The Future of Work - OneSafe - July 8th, 2025 [July 8th, 2025]
- Jack Dorsey tests Bitchat decentralized messaging without internet - Cointelegraph - July 8th, 2025 [July 8th, 2025]
- CrossFis Haley Cromer on Bridging Traditional Finance and Web3 for a Decentralized Future - BlockTelegraph - July 8th, 2025 [July 8th, 2025]
- India's Crypto Tax: Navigating New Norms with Decentralized Solutions - OneSafe - July 8th, 2025 [July 8th, 2025]
- Turkey Tightens Its Grip on Crypto: What It Means for Decentralized Exchanges - OneSafe - July 8th, 2025 [July 8th, 2025]
- Spheron and AIxBlock Unite to Democratize Decentralized AI - CoinTrust - July 8th, 2025 [July 8th, 2025]
- The Role of Web3 in Shaping NFT Marketplace Opportunities - Vocal - July 8th, 2025 [July 8th, 2025]
- BNB Adds Centralized Features, But Lightchain AI Adds Decentralized Incentives That Drive New Demand - Modern Diplomacy - July 8th, 2025 [July 8th, 2025]
- Taiko and Nethermind Partner to Enhance Ethereum Rollup Infrastructure - Blockchain News - July 8th, 2025 [July 8th, 2025]
- The Rise of Decentralized Stablecoins: Can They Replace Centralized Counterparts in 2025? - Vocal - July 8th, 2025 [July 8th, 2025]
- On MSNBC's Deadline: White House, Angelo Carusone highlights how Trump is losing control of narrative dominance due to "fractures" in... - July 8th, 2025 [July 8th, 2025]
- Assembly Control Transforms Programmatic Advertising with Revolutionary Brand Safety Platform - Stock Titan - July 4th, 2025 [July 4th, 2025]
- Now, United States Border Control Scrutinizes Social Media: For The Travelers To The United States from France, Spain, and Beyond, Here Is All You... - July 4th, 2025 [July 4th, 2025]
- Assembly Launches 'Assembly Control' to Elevate Brand Safety, Suitability, and Campaign Performance in Programmatic Media - Macau Business - July 4th, 2025 [July 4th, 2025]
- Breaking the Studio Social Media Blackout: Caylee Cowan Takes Creative Control and Financial Freedom with Fanfix - Silicon UK - June 28th, 2025 [June 28th, 2025]
- Aleema's control over PTI social media makes her all-powerful within Imran-founded party - Geo News - June 26th, 2025 [June 26th, 2025]
- Tuenti social media co-founder takes control of Puerto Bans bullring with plans to demolish it - Sur in English - June 20th, 2025 [June 20th, 2025]
- InMobi Advertising Unveils Mobile-First Curation Platform Empowering All Media Buyers with Precision, Transparency, and Control - Passionate In... - June 20th, 2025 [June 20th, 2025]
- Trump takes control of media cycle with travel ban, Harvard visa restriction, Biden investigation policy spree - Washington Examiner - June 7th, 2025 [June 7th, 2025]
- Pushed Out and Unfiltered: Joy Reid, Misogynoir, Media Control,and the Fear of a Black Womans Voice - Daily Kos - June 7th, 2025 [June 7th, 2025]
- GitGuardian urges shift to machine identity control - SC Media - May 11th, 2025 [May 11th, 2025]
- Opinion: Its time to lose control - Main Street Media of Tennessee - May 8th, 2025 [May 8th, 2025]
- Opinion | How a Professional Bully Is Winning Control of the Media - Common Dreams - April 30th, 2025 [April 30th, 2025]
- Social Media, Social Control, and the Politics of Public Shaming - - Political Science Now - April 21st, 2025 [April 21st, 2025]
- Tariff saga creates a meme war on social media, making it difficult for brands to 'control the message' - Digiday - April 21st, 2025 [April 21st, 2025]
- Conservatives are limiting media access to Poilievre. Is it helping or hurting him? - CBC - April 12th, 2025 [April 12th, 2025]
- Robert W. McChesney, who warned of corporate media control, dies at 72 - Editor and Publisher - April 10th, 2025 [April 10th, 2025]
- FCC Commissioner Anna Gomez Sounds Alarm Over Trump Administrations Absolute Pattern of Censorship and Control - Variety - April 10th, 2025 [April 10th, 2025]
- 'Attack lined up': Grenon says he offered compromise but believes NZME board has 'no interest' - NZ Herald - April 8th, 2025 [April 8th, 2025]
- Russia seeks full control of partially occupied Ukrainian regions in talks with US, media reports - Kyiv Independent - March 26th, 2025 [March 26th, 2025]
- Navigating the digital world without letting it control you. - Psychology Today - March 25th, 2025 [March 25th, 2025]
- ANZ Digital Padlock to give customers real-time control in fight against fraud and scams - ANZ - March 25th, 2025 [March 25th, 2025]
- Trump Handpicking Reporters and Bezos Partisan Shift: A Trend in Media Control - MSN - March 13th, 2025 [March 13th, 2025]
- Spains New Media Law Sparks Fears of Censorship and State Control - The European Conservative - March 5th, 2025 [March 5th, 2025]
- We dont feel we have control: How social media algorithms have warped our attention spans - MSNBC - March 3rd, 2025 [March 3rd, 2025]
- White House takes control of the press pool covering Trump - Reuters - March 3rd, 2025 [March 3rd, 2025]
- White House takes control of the press pool covering Trump - Reuters - March 3rd, 2025 [March 3rd, 2025]
- We dont feel we have control: How social media algorithms have warped our attention spans - MSNBC - March 3rd, 2025 [March 3rd, 2025]
- Reuters and Associated Press among outlets barred from Trumps first cabinet meeting - Semafor - March 3rd, 2025 [March 3rd, 2025]
- Reuters and Associated Press among outlets barred from Trumps first cabinet meeting - Semafor - March 3rd, 2025 [March 3rd, 2025]
- White House seizes control of press pool, will decide which outlets cover events with president - POLITICO - March 3rd, 2025 [March 3rd, 2025]
- White House seizes control of press pool, will decide which outlets cover events with president - POLITICO - March 3rd, 2025 [March 3rd, 2025]
- Epson And Show Sage At USITT 2025 Showcasing New 4K Projection With New Media Server And Control Tech - Live Design - March 3rd, 2025 [March 3rd, 2025]
- Epson And Show Sage At USITT 2025 Showcasing New 4K Projection With New Media Server And Control Tech - Live Design - March 3rd, 2025 [March 3rd, 2025]
- White House takes control of picking media who cover Trump - El Paso Inc. - March 3rd, 2025 [March 3rd, 2025]
- White House takes control of picking media who cover Trump - El Paso Inc. - March 3rd, 2025 [March 3rd, 2025]
- Trump administration to take control of media access at White House - New Straits Times - March 3rd, 2025 [March 3rd, 2025]
- USAID spent millions of dollars to promote media control through Internews which is linked to India based Factshala - Organiser - February 16th, 2025 [February 16th, 2025]
- Inaccurate reporting on foot and mouth disease controls - Defra in the media - February 16th, 2025 [February 16th, 2025]
- Russian forces take control of two settlements in eastern Ukraine, Media - APA - February 16th, 2025 [February 16th, 2025]
- TikTok's woes in the United States highlight the 'Godfather' battle to control social media - ABC News - February 5th, 2025 [February 5th, 2025]
- Jesse Watters: Air traffic control was "unable to meet their own DEI quotas, and thats what is leading to staffing shortages" - Media... - February 5th, 2025 [February 5th, 2025]
- Hive to launch Beeblade Nexus media control engine - Installation and AV Technology Europe - January 27th, 2025 [January 27th, 2025]
- Pakistan introduces law allowing government to block platforms, imprison users for spreading 'disinformat - The Times of India - January 27th, 2025 [January 27th, 2025]
- This little media control button is the gadget I can't live without - MSN - January 22nd, 2025 [January 22nd, 2025]
- Effective role of media is a must for tobacco control, experts say - bdnews24.com - January 22nd, 2025 [January 22nd, 2025]
- Effective media role vital for tobacco control: Experts - United News of Bangladesh - UNB - January 22nd, 2025 [January 22nd, 2025]
- How Government & Legacy Media CONTROL What We Think - iHeartRadio - January 9th, 2025 [January 9th, 2025]
- SNL kinda banned this 1998 'Schoolhouse Rock' parody warning about corporate media control - Upworthy - December 30th, 2024 [December 30th, 2024]
- Palestinian Authority: Jews Lied About Oct. 7 Because They Control the Media - Algemeiner - December 30th, 2024 [December 30th, 2024]
- NDCs control of major media houses gave them edge in 2024 polls Bawumia - Adomonline - December 22nd, 2024 [December 22nd, 2024]
- Hallmark Insights to Tackle the Debate on Social Media Management and Control in Organizations - PC Tech Magazine - December 14th, 2024 [December 14th, 2024]
- Rupert Murdochs bid to change familys trust over Fox News media empire control is rejected - Washington Times - December 10th, 2024 [December 10th, 2024]
- Rupert Murdoch loses battle to control succession to his media empire - The Guardian - December 10th, 2024 [December 10th, 2024]
- Journalist Abducted in Guinea Amid Military's Increasing Control Over Media - Oneindia - December 5th, 2024 [December 5th, 2024]
- Aleppo and Idlib Under Opposition Control, With Eyes on Hama - The Media Line - December 5th, 2024 [December 5th, 2024]
- Remilekun Dosumu takes the helm as Head of Media Buying & Control at PHD Nigeria - Marketing Edge - December 5th, 2024 [December 5th, 2024]
- Media reports US Republicans regaining control of House of Representatives - MENAFN.COM - November 14th, 2024 [November 14th, 2024]
- Social media misinformation is scaring women about birth control - STAT - November 5th, 2024 [November 5th, 2024]
- The (Lack Of) Science Behind Social Media Claims Of Weather Control - Forbes - October 14th, 2024 [October 14th, 2024]
- No, the government is not controlling the weather. "It's so stupid, it's got to stop," Biden says - CBS News - October 14th, 2024 [October 14th, 2024]
- Column: Media tries to control the narrative | Aiken Standard - The Post and Courier - October 12th, 2024 [October 12th, 2024]
- DoubleVerify To Introduce Pre-Screen Content Control On Meta, Strengthening Brand Safety, Suitability, Media Performance - Business - October 12th, 2024 [October 12th, 2024]