B-ALG

Bearer Level Application-Level Gateway

Core Network →
Introduced in Rel-12

B-ALG is a network function that performs deep packet inspection and application-aware policy enforcement at the bearer level within the IMS to enable charging, traffic optimization, and QoS policies.

Category
Core Network
Introduced
Rel-12
Where
Core Network › Evolved Packet Core
Specifications
2 specs
B-ALG Description Purpose Related Classification Detected Changes Specifications

Description

The Bearer Level Application-Level Gateway (B-ALG) is a specialized network element within the IP Multimedia Subsystem (IMS) architecture that operates at the intersection of the control plane and user plane. It functions as an application-aware intermediary that inspects Session Initiation Protocol (SIP) signaling messages and associated media flows to identify specific applications, services, or content types. Unlike traditional ALGs that operate primarily at the transport layer, the B-ALG performs deep packet inspection at the application layer, enabling granular identification of services even when they use non-standard ports or encryption techniques.

Architecturally, the B-ALG is positioned between the Proxy-Call Session Control Function (P-CSCF) and the Serving-Call Session Control Function (S-CSCF) in the IMS signaling path. It intercepts SIP messages during session establishment, modification, and termination procedures, analyzing SDP (Session Description Protocol) offers and answers to identify media characteristics and application signatures. The B-ALG maintains session state information and correlates signaling messages with corresponding media flows, enabling it to apply consistent policies throughout the session lifetime. It interfaces with policy control functions like the Policy and Charging Rules Function (PCRF) through the Rx interface to obtain dynamic policy rules based on application detection.

The B-ALG's operation involves several key components: a SIP parser and state machine for processing signaling messages, deep packet inspection engines for analyzing media flows, policy enforcement points for applying QoS and charging rules, and interfaces to external policy servers. When a session is established, the B-ALG examines the SIP INVITE message and associated SDP to identify the application type (e.g., video streaming, voice call, gaming). It then communicates with the PCRF to obtain appropriate policy rules, which may include specific QoS parameters, charging rates, or traffic optimization instructions. These rules are enforced by marking packets with appropriate DSCP values, shaping traffic flows, or triggering specialized charging events.

In the network ecosystem, the B-ALG plays a crucial role in enabling application-aware networking within IMS. It allows operators to implement sophisticated service differentiation strategies, where different applications receive different treatment based on their requirements and business models. For example, a video streaming service might receive higher priority and different charging than a file transfer service. The B-ALG also supports lawful interception requirements by providing detailed application identification and session tracking capabilities. Its integration with the Policy and Charging Control (PCC) architecture ensures that application-level policies are consistently applied across both control and user plane elements.

Purpose & Motivation

The B-ALG was developed to address the growing need for application-aware policy enforcement in IP-based multimedia networks. As mobile networks evolved from circuit-switched voice services to packet-based multimedia services, operators needed mechanisms to identify and differentiate between various applications running over IP. Traditional network elements could only classify traffic based on IP addresses, ports, or protocol types, which became insufficient as applications began using dynamic ports, encryption, and tunneling techniques to bypass simple classification methods.

Prior to B-ALG implementation, operators faced significant challenges in implementing granular charging and QoS policies for IMS services. Basic ALG functions existed but operated primarily at the transport layer, lacking the sophistication needed for modern multimedia applications. The limitations of previous approaches included inability to identify specific applications within encrypted flows, poor handling of dynamically assigned ports, and limited integration with policy control systems. These shortcomings made it difficult for operators to offer differentiated services or implement fair usage policies effectively.

The creation of B-ALG was motivated by the commercial need to monetize different types of traffic appropriately and ensure quality of experience for premium services. By enabling deep packet inspection at the application layer within the IMS framework, operators gained the ability to implement sophisticated business models where different applications could receive different network treatment and be charged differently. This capability became particularly important with the proliferation of over-the-top (OTT) applications and the need for operators to compete effectively while maintaining network efficiency and quality standards.

Classification

Part ofIMS
Related approachesP-CSCFS-CSCFPCRF

Detected Changes Across Releases

from 3GPP Change Requests

Specific changes extracted from the „Change history“ tables of 3GPP specifications (1 CRs across 1 releases). Complements the general historical overview above with the evidence-based evolution of this function.

Studied in Rel-12, normative work from Rel-19.

Rel-19 1 change

In Release 19, the B-ALG (Bearer Level Application-Level Gateway) function was enhanced to support IMS restoration procedures following a PCRF/PCF failure. This was achieved by introducing a new trigger procedure based on RTCP Receiver Report (RR) packets. The update enables the B-ALG, which provides application-aware MSRP interworking, to participate in the network's recovery mechanisms.

  • Add RTCP RR packets trigger procedure to support IMS restoration procedures after PCRF/PCF failure TS 29.334CR0419

Explore further

Broader topics and technologies where B-ALG plays a role.

Defining Specifications

3GPP specifications that define or reference B-ALG, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 29.238 vj00 H.248 Profile for IBCF-TrGW Interface Rel-19
TS 29.334 vj00 IMS-ALG to IMS-AGW Interface Protocol Rel-19