IMS-GWF

IMS Gateway Function

Core Network
Introduced in Rel-8
A charging gateway function within the IMS that collects charging information from IMS network elements, performs correlation and formatting, and forwards it to the offline charging system. It is a key component for generating billing records for IMS-based services.

Description

The IMS Gateway Function (IMS-GWF) is a standardized network function responsible for offline charging within the IP Multimedia Subsystem (IMS). It acts as a mediator between various IMS Charging Trigger Functions (CTFs)—such as the P-CSCF, I-CSCF, S-CSCF, Application Servers (AS), and the Media Resource Function Controller (MRFC)—and the network operator's central billing system, known as the Charging Data Function (CDF). The primary role of the IMS-GWF is to collect, aggregate, correlate, and format charging information before delivering it for long-term storage and billing processing.

Architecturally, the IMS-GWF receives charging events via the Rf reference point, which uses the Diameter protocol. Each IMS network element acting as a CTF generates Accounting Request (ACR) messages (Start, Interim, Stop) for a service session. These messages contain details like session identifiers, involved parties, service data volumes, and timestamps. The IMS-GWF processes these Diameter ACR messages. A critical task is correlation: it links multiple charging events from different network elements (e.g., S-CSCF for signaling and an AS for service logic) that all belong to the same end-user session. It uses identifiers like the IMS Charging Identifier (ICID) and Access Network Charging Identifier to perform this correlation.

After correlation and any necessary formatting or consolidation, the IMS-GWF forwards the complete charging information to the CDF via the Ga reference point. The Ga interface typically uses a file-based transfer protocol like FTP or SFTP, and the data is structured according to the 3GPP Charging Data Record (CDR) format defined in specification 32.297. The IMS-GWF may also perform functions like CDR pre-processing, error handling, and load distribution. It ensures that charging data from the real-time IMS environment is reliably converted into standardized records suitable for the offline, batch-oriented billing systems.

In the IMS charging architecture, the IMS-GWF decouples the real-time session control elements from the backend billing infrastructure. This separation allows the IMS core to focus on session delivery while delegating the resource-intensive tasks of charging data collection and formatting to a dedicated gateway. The IMS-GWF is a fundamental component for monetizing IMS services, enabling operators to bill for complex multimedia sessions that may involve voice, video, messaging, and other enriched communication services, based on detailed usage records.

Purpose & Motivation

The IMS-GWF was created to address the need for a standardized, scalable, and reliable offline charging mechanism for the IP Multimedia Subsystem. Prior to IMS, circuit-switched voice networks had well-defined charging mechanisms, but the packet-based, session-oriented nature of IMS introduced new complexities. IMS sessions could involve multiple network elements (different CSCFs, ASs), multiple media components, and dynamic changes mid-session, making it challenging to generate a single, accurate billing record.

The purpose of the IMS-GWF is to solve the problem of charging data collection and correlation in a distributed, multi-vendor IMS environment. Without a centralized gateway, each network element would need to interface directly with the billing system, leading to complexity, potential data loss, and inconsistent record formatting. The IMS-GWF provides a single, logical point of collection. It abstracts the heterogeneity of the IMS core from the billing domain, ensuring that charging records are complete, correlated across different network functions, and delivered in a uniform format.

Its introduction was motivated by the commercial requirement to bill for IMS services. It enables operators to implement flexible charging models (time-based, volume-based, event-based, or combination) for new multimedia services. By standardizing the Rf (collection) and Ga (delivery) interfaces, the IMS-GWF ensures interoperability between equipment from different vendors, which is crucial for the multi-vendor ecosystem of IMS deployments. It forms a core part of the 3GPP offline charging architecture, allowing operators to monetize their IMS investments effectively.

Key Features

  • Collection of Diameter Rf Accounting Requests from IMS CTFs
  • Correlation of Charging Events from Multiple IMS Network Elements
  • Generation and Formatting of Standardized Charging Data Records (CDRs)
  • Forwarding of CDRs to CDF via Ga Interface (File-Based)
  • Error Handling and Logging for Charging Data
  • Support for Event-Based, Session-Based, and Volume-Based Charging

Evolution Across Releases

Rel-8 Initial

Introduced as the IMS Gateway Function (IMS-GWF) for offline charging. The initial architecture defined its role as a collector and forwarder of charging information via the Rf and Ga interfaces. Specified its functions for receiving Diameter ACR messages, correlating data using ICID, and generating CDR files for the billing domain.

Defining Specifications

SpecificationTitle
TS 32.260 3GPP TR 32.260
TS 32.272 3GPP TR 32.272
TS 32.280 3GPP TR 32.280
TS 32.281 3GPP TR 32.281