BGF

Border Gateway Function

Core Network
Introduced in Rel-7
The Border Gateway Function (BGF) is a session border controller within the IP Multimedia Subsystem (IMS) that manages media traffic at network boundaries. It provides policy enforcement, NAT traversal, and security functions for multimedia sessions, ensuring quality of service and network protection. BGF is essential for interconnecting different operator networks and enabling secure, reliable multimedia services.

Description

The Border Gateway Function (BGF) is a critical component within the 3GPP IP Multimedia Subsystem (IMS) architecture, specifically designed to handle media plane functions at network boundaries. It operates as a specialized session border controller that sits between different administrative domains, such as between an operator's IMS network and external IP networks, or between different operator networks. The BGF is responsible for controlling and managing the flow of media traffic (voice, video, real-time text) based on policies received from the Policy and Charging Rules Function (PCRF) via the Gq' interface. It implements deep packet inspection capabilities to identify and classify media streams, enabling precise policy enforcement and quality of service management.

Architecturally, the BGF consists of several functional components including media processing engines, policy enforcement points, security gateways, and traffic management systems. It operates in both access and core network positions - the Access BGF (A-BGF) handles traffic at the access network boundary, while the Interconnect BGF (I-BGF) manages traffic between different operator networks. The BGF establishes and maintains media sessions based on Session Description Protocol (SDP) parameters negotiated during session establishment, and it can modify these parameters as needed for network address translation (NAT) traversal and firewall traversal. It maintains session state information for all active media sessions passing through it, including bandwidth allocation, codec information, and security associations.

The BGF's operation involves several key processes: first, it receives policy decisions from the PCRF containing rules for media handling, bandwidth allocation, and charging parameters. Second, it inspects incoming media packets to identify sessions and apply the appropriate policies. Third, it performs necessary media modifications such as NAT, header compression, or transcoding when required. Fourth, it monitors session quality and can trigger events back to the PCRF if quality thresholds are breached. The BGF interfaces with multiple network elements including the Proxy-Call Session Control Function (P-CSCF) for session control coordination, the PCRF for policy control, and various charging functions for billing purposes. Its position in the media path allows it to provide detailed measurements and reporting for both operational and billing purposes.

In terms of security functions, the BGF implements firewall capabilities to protect the IMS core from external threats, including denial-of-service attacks and unauthorized access attempts. It can authenticate media streams, validate that media traffic corresponds to established sessions, and prevent media hijacking or theft of service. The BGF also supports lawful interception capabilities as required by regulatory frameworks, providing access to media streams for authorized monitoring purposes. Its ability to hide internal network topology through NAT functions adds an additional layer of security by preventing external entities from learning internal IP addressing schemes.

The BGF plays a crucial role in enabling multimedia services across heterogeneous networks by solving interoperability challenges related to different network address spaces, security policies, and quality of service mechanisms. It ensures that media quality is maintained according to service level agreements even when traffic crosses multiple administrative domains. The BGF's comprehensive media handling capabilities make it an essential component for operators deploying IMS-based services, particularly for voice over LTE (VoLTE), video calling, and rich communication services (RCS).

Purpose & Motivation

The Border Gateway Function was created to address several critical challenges in IP-based multimedia service delivery across network boundaries. As operators began deploying IMS architectures for multimedia services, they encountered significant issues with inter-domain connectivity, security vulnerabilities at network edges, and inconsistent quality of service when media traffic crossed administrative boundaries. Traditional routers and firewalls lacked the session awareness and policy enforcement granularity needed for real-time multimedia services, leading to poor user experience and security risks.

Prior to BGF standardization, operators used various proprietary session border controllers with inconsistent implementations that hindered interoperability between different vendors and operators. This fragmentation increased deployment costs and complexity while limiting service innovation. The 3GPP standardized BGF provided a unified approach to media border control, enabling consistent policy enforcement, security protection, and quality management across multi-vendor, multi-operator environments. It specifically addressed the limitations of earlier approaches by integrating deeply with the IMS control plane and policy framework, allowing dynamic policy application based on real-time session requirements.

The BGF's creation was motivated by the need to enable secure, reliable multimedia service delivery in an increasingly interconnected world where users expect seamless service quality regardless of network boundaries. It solved fundamental problems including NAT and firewall traversal for media streams, protection against denial-of-service attacks targeting multimedia infrastructure, and enforcement of service-level agreements for quality of service. By providing standardized interfaces and capabilities, the BGF reduced operator costs while improving service quality and security, ultimately enabling the widespread adoption of IMS-based services like VoLTE and video telephony.

Key Features

  • Policy-based media traffic control and enforcement
  • Network Address Translation (NAT) and firewall traversal for media streams
  • Deep packet inspection for media classification and quality monitoring
  • Interconnection security including DoS protection and media validation
  • Bandwidth management and quality of service enforcement
  • Lawful interception support for regulatory compliance

Evolution Across Releases

Rel-7 Initial

Introduced the Border Gateway Function as part of the IMS Media Plane architecture with basic policy enforcement capabilities. Initial specification included support for media traffic control at network boundaries, NAT traversal functions, and integration with the Policy and Charging Rules Function (PCRF) via the Gq' interface. Provided foundational security features including firewall protection and media stream validation.

Defining Specifications

SpecificationTitle
TS 23.417 3GPP TS 23.417
TS 23.517 3GPP TS 23.517
TS 24.524 3GPP TS 24.524
TS 29.238 3GPP TS 29.238
TS 29.421 3GPP TS 29.421