Description
The Media Gateway Control Function (MGCF) is a specialized control-plane function within the IP Multimedia Subsystem (IMS) architecture. Its primary role is to act as a signaling gateway and controller for sessions that need to traverse between the packet-switched IMS domain (which uses SIP - Session Initiation Protocol) and the legacy circuit-switched (CS) telephony world (which uses protocols like ISUP - ISDN User Part or BICC - Bearer Independent Call Control). The MGCF is the IMS counterpart to the CS domain's Media Gateway Controller (MGC), but it is specifically designed to operate within the SIP-centric IMS framework.
Architecturally, the MGCF sits at the boundary between the IMS core and external CS networks like the Public Switched Telephone Network (PSTN) or legacy PLMN. It has several key interfaces. Towards the IMS core, it communicates with the CSCF (Call Session Control Function) using the SIP-based Mg interface. When an IMS user calls a PSTN number, the SIP INVITE is routed to the MGCF. The MGCF then performs protocol translation, converting the SIP signaling into the appropriate ISUP or BICC message. Conversely, for an incoming call from the PSTN, it receives ISUP/BICC signaling and translates it into a SIP INVITE for routing into the IMS. To manage the actual media path, the MGCF controls an IMS-Media Gateway (IMS-MGW) using the H.248 protocol over the Mn interface. It instructs the IMS-MGW to perform necessary media interworking functions, such as transcoding between a packet voice codec (like AMR-WB used in IMS) and a PCM TDM circuit from the PSTN, or playing announcements and tones.
In operation, the MGCF's workflow involves several steps. It performs address analysis and translation (e.g., converting a PSTN E.164 number into a SIP URI for routing within IMS, or vice-versa). It manages the call state for the interworking portion of the session, ensuring signaling coherence between the two disparate domains. The MGCF also interacts with other IMS functions like the Breakout Gateway Control Function (BGCF) for selecting the appropriate network to break out to the CS domain. Its design is crucial for ensuring seamless service continuity, supporting not only basic voice calls but also supplementary services like call forwarding, caller ID, and call waiting across the network boundary.
Purpose & Motivation
The MGCF was created to solve a fundamental challenge in the transition to all-IP networks: how to maintain seamless interoperability between the new, SIP-based IMS and the vast, entrenched infrastructure of the global circuit-switched telephone network. Without the MGCF, IMS would be an isolated 'island' unable to communicate with the billions of existing landline and mobile phones. Its development was motivated by the 3GPP's vision for IMS as the unifying service delivery platform for multimedia services, which necessitated a robust and standardized interworking function.
Historically, as IMS was defined from 3GPP Release 5 onwards, the MGCF addressed the limitations of earlier, proprietary gateway solutions. It provided a standardized, scalable way to handle the complex signaling and media mapping required for inter-domain calls. This allowed network operators to deploy IMS for new services (like VoLTE and RCS) while guaranteeing backward compatibility, protecting their existing investments, and ensuring a smooth migration path for subscribers. The MGCF, together with the IMS-MGW, forms the PSTN/CS gateway subsystem that is essential for the commercial success of any IMS deployment.
Detected Changes Across Releases
from 3GPP Change RequestsSpecific changes extracted from the „Change history“ tables of 3GPP specifications (15 CRs across 4 releases). Complements the general historical overview above with the evidence-based evolution of this function.
In Release 15, the MGCF was enhanced to support reporting Media Bearer information for the S8 Home Routing (S8HR) interface. This introduction provides the network with control and visibility over the specific physical media used to carry information between the User Equipment and the Infrastructure. This capability aligns with the broader principle of extending network control to manage resources within a session.
In Release 16, the MGCF was updated to support the IMS Data Channel through the addition of a corresponding Media Feature Tag. This enhancement, which included an update to the relevant IETF references, enabled the MGCF to control sessions involving this new type of media bearer for conversational data transfer.
In Release 18, the MGCF saw updates to the DCMF service to support media processing. Furthermore, enhancements were made to include media information for the IMS data channel, including a change to the media type value.
In Release 19, the MGCF saw enhancements primarily focused on supporting UE-Satellite-UE communication within IMS, including specific procedures for call setup and mobility with early media handling. The release also introduced updates for optimizing media routing in these satellite scenarios and provided clarifications on Media Correlation ID. Furthermore, it added more event filters for ADC media type and addressed terminating local BDC establishment without a BDC media component in the SDP of an incoming INVITE request.
- Terminating local BDC establishment without BDC media component in SDP of incoming INVITE request TS 23.228CR1416
- Call setup of UE-Satellite-UE communication with early media in IMS TS 23.228CR1520
- Mobility procedure for UE-Satellite-UE communication in IMS - continuation of optimized media routing TS 23.228CR1521
- Update on early media handling in UE-Satellite-UE scenario TS 23.228CR1629
- Clarification on Media Correlation ID TS 23.228CR1667
- Adding more event filters for ADC media type TS 23.228CR1544
+ 2 more changes
Explore further
Broader topics and technologies where MGCF plays a role.
Defining Specifications
3GPP specifications that define or reference MGCF, with the latest known release. Sourced from the 3GPP document catalog — see methodology.
| Specification | Title | Release |
|---|---|---|
| TR 21.905 vj00 | 3GPP Technical Terms and Definitions | Rel-19 |
| TS 23.218 vj00 | IMS Call Model Specification | Rel-19 |
| TS 23.221 vj00 | 3GPP System Architectural Requirements | Rel-19 |
| TS 23.228 vj50 | IMS Stage-2 Service Description | Rel-19 |
| TS 23.231 vj00 | SIP-I based CS core network stage 2 | Rel-19 |
| TS 23.271 vj00 | LCS Stage 2 Specification | Rel-19 |
| TS 23.278 vj00 | CAMEL for IMS Stage 2 Specification | Rel-19 |
| TS 23.417 v1700 | IMS Core Component for NGN Architecture | Rel-7 |
| TS 23.517 v1800 | IMS Core Component for NGN Architecture | Rel-8 |
| TS 23.806 v1700 | Voice Call Continuity between CS and IMS | Rel-7 |
| TS 23.815 v1500 | IMS Charging Implications | Rel-5 |
| TS 23.849 vb00 | Study on IMS Roaming Media Optimization | Rel-11 |
| TS 24.147 vj00 | IMS Conferencing Protocol Details | Rel-19 |
| TS 24.228 v1500 | IP Multimedia Call Control Signaling Flows | Rel-5 |
| TS 24.229 vj50 | IMS call control protocol based on SIP and SDP | Rel-19 |
| TS 24.259 vj00 | Personal Network Management (PNM) Protocol Details | Rel-19 |
| TS 24.405 v1700 | Conference Service Protocol Description | Rel-7 |
| TS 24.407 v830 | OIP and OIR Simulation Services Protocol | Rel-8 |
| TS 24.411 v1830 | ACR and CB Service Protocol Specification | Rel-8 |
| TS 24.416 v1700 | Malicious Call Identification Service | Rel-7 |
| TS 24.428 v1700 | Common Basic Communication Procedures | Rel-7 |
| TS 24.429 v1700 | Explicit Communication Transfer (ECT) Service Specification | Rel-7 |
| TS 24.454 v840 | Closed User Group (CUG) Protocol Specification | Rel-8 |
| TS 24.504 v8m0 | Communication Diversion Services Stage 3 | Rel-8 |
| TS 24.505 v810 | Protocol Description of the Conference Service | Rel-8 |
| TS 24.508 v820 | TIP and TIR Service Protocol Description | Rel-8 |
| TS 24.516 v830 | MCID Protocol Specification for NGN | Rel-8 |
| TS 24.524 vj00 | Hosted Enterprise Services Architecture | Rel-19 |
| TS 24.528 v830 | Common Basic Communication Procedures for IMS Services | Rel-8 |
| TS 24.529 v820 | Explicit Communication Transfer (ECT) Simulation Service | Rel-8 |
| TS 24.604 vj00 | Communications Diversion (CDIV) Protocol Spec | Rel-19 |
| TS 24.605 vj00 | 3GPP CONF Service Protocol Specification | Rel-19 |
| TS 24.607 vj10 | OIP and OIR Supplementary Services Stage 3 | Rel-19 |
| TS 24.616 vj00 | Malicious Call Identification (MCID) Protocol | Rel-19 |
| TS 24.628 vj00 | Common Basic Communication Procedures in IMS | Rel-19 |
| TS 24.629 vj00 | Explicit Communication Transfer (ECT) Protocol | Rel-19 |
| TS 24.819 v1700 | IMS Services via Fixed Broadband Access | Rel-7 |
| TR 24.930 vj00 | IMS Session Setup Signalling Flows | Rel-19 |
| TS 26.114 vj10 | IMS Multimedia Telephony Media Handling | Rel-19 |
| TR 26.944 vj00 | QoE, ESQoS and SQoS metrics for 3G multimedia services | Rel-19 |
| TS 28.702 vj00 | Core Network NRM IRP Information Service | Rel-19 |
| TS 28.705 vj00 | IMS NRM IRP Information Service | Rel-19 |
| TS 29.332 vj00 | MGCF-IM-MGW Interface Protocol (Mn) | Rel-19 |
| TS 29.412 v1810 | Trunking Gateway Control Procedures | Rel-8 |
| TS 29.424 v801 | H.248 Profile for Trunking Media Gateways | Rel-8 |
| TS 29.863 v820 | IMS-CS Multimedia Interworking Feasibility Study | Rel-8 |
| TR 29.949 vj00 | VoLTE IMS Roaming Architecture & Procedures | Rel-19 |
| TS 32.102 vj00 | Telecom Management Physical Architecture Framework | Rel-19 |
| TS 32.240 vj40 | Charging Management Architecture & Principles | Rel-19 |
| TS 32.260 vj10 | IMS Charging Management | Rel-19 |
| TS 32.272 vj00 | Charging for Push-to-Talk over Cellular (PoC) | Rel-19 |
| TS 32.280 vj00 | Advice of Charge (AoC) Framework | Rel-19 |
| TS 32.632 vb00 | Core Network Resources IRP: Network Resource Model | Rel-11 |
| TS 32.732 vb00 | IMS Network Resource Model IRP: Information Service | Rel-11 |
| TS 32.850 ve00 | IMS Charging Correlation Methods Study | Rel-14 |
| TS 33.107 vj00 | Lawful Interception Architecture & Functions | Rel-19 |
| TS 33.108 vj00 | LI Handover Interface Specification | Rel-19 |