TRF

Transit and Roaming Function

Core Network →
Introduced in Rel-11

TRF is the IMS core network function that routes SIP signaling between operator networks for roaming and interconnection, performing topology hiding, security, and policy enforcement at the network border.

Category
Core Network
Introduced
Rel-11
Where
Core Network › Legacy Core
Specifications
9 specs
TRF Description Purpose Related Classification Detected Changes Specifications

Description

The Transit and Roaming Function (TRF) is a Session Initiation Protocol (SIP) application server function within the IMS architecture, as standardized by 3GPP. It acts as a SIP proxy or back-to-back user agent (B2BUA) that sits at the border between an operator's IMS network and external networks, such as other IMS networks, circuit-switched networks via the MGCF, or the internet. Its primary role is to process and route SIP signaling messages for sessions that involve users who are roaming or sessions that originate in one network and terminate in another.

Architecturally, the TRF is part of the IMS service layer and interacts with other IMS core functions like the Interrogating-Call Session Control Function (I-CSCF), Serving-CSCF (S-CSCF), and the Breakout Gateway Control Function (BGCF). How it works involves several key procedures. For inbound roaming sessions, when a SIP request (like an INVITE) enters the home network for a roaming user, it may be routed via a TRF. The TRF performs security functions like validating the source, checking against blacklists, and potentially hiding the internal network topology by removing or modifying sensitive SIP headers. It also enforces the operator's routing policies, ensuring sessions are directed to the correct S-CSCF or application server.

For outbound sessions (e.g., a home user calling a user in another network), the TRF acts as the exit point. It applies policy-based routing, selects the appropriate inter-operator interconnection (e.g., via IPX), and may perform protocol adaptations if necessary. The TRF is also instrumental in IMS roaming scenarios, where it can interface with the Diameter-based 3GPP AAA infrastructure to obtain roaming user profiles and authorization. Key components of its logic include SIP message manipulation engines, policy decision functions, and security gateways. Its role is critical for maintaining the security, reliability, and commercial agreements inherent in inter-operator communication.

Purpose & Motivation

The TRF was introduced to address specific challenges arising from the all-IP, SIP-based nature of the IMS, particularly for inter-network communication and roaming. Prior to IMS, roaming and interconnection in circuit-switched networks were handled by dedicated signaling (SS7) and voice trunking systems with well-defined border points (like GMSCs). IMS, with its open IP signaling, lacked a standardized, secure, and policy-aware border function for SIP traffic, risking security vulnerabilities, uncontrolled routing, and an inability to enforce commercial agreements.

Its creation in Release 11 was motivated by the need for a consolidated function to handle the complex signaling requirements at IMS network borders. It solves problems like topology hiding (preventing external entities from learning internal network structures), screening of malicious SIP traffic, enforcement of interconnect policy (e.g., preferred partners), and providing a single point for lawful interception for inter-operator traffic. Furthermore, as IMS became the foundation for VoLTE and rich communication services, a standardized approach to roaming and transit was essential for global interoperability.

The TRF addresses the limitations of earlier, more ad-hoc approaches using generic SIP proxies or SBCs (Session Border Controllers) without standardized behavior. It provides a 3GPP-defined blueprint that ensures consistent behavior across vendors and operators, which is crucial for scaling IMS-based services like voice and video roaming on a global scale.

Classification

Part ofCSCF

Detected Changes Across Releases

from 3GPP Change Requests

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

Studied in Rel-11, normative work from Rel-15.

Rel-15 1 change

In Release 15, the TRF function was enhanced to support the interception of terminating Circuit-Switched calls for subscribers who are outbound roaming. This introduces a new capability for lawful interception within roaming scenarios specifically for CS call services.

  • Interception of terminating CS calls when outbound roaming TS 33.107CR0295
Rel-16 1 change

In Release 16, the TRF function was enhanced to support P-CSCF restoration procedures within the 5G System (5GS). This new capability ensures service continuity for IMS-based services by defining mechanisms for the TRF to handle the restoration of the Proxy-Call Session Control Function. The update specifically integrates these restoration procedures into the 5GS architecture.

Rel-18 1 change

In Release 18, the TRF function was enhanced to support slice-aware charging for roaming partners. This new capability allows charging mechanisms to differentiate and account for the specific network slice used by a roaming subscriber.

  • Slice-aware charging for Roaming partners TS 32.240CR0467
Rel-19 1 change

In Release 19, the TRF function was enhanced to support disaster roaming charging. This addition introduces a new charging mechanism specifically for scenarios where subscribers are roaming due to a disaster situation.

  • Rel-19 CR 32.240 Addition of disaster roaming charging TS 32.240CR0522

Explore further

Broader topics and technologies where TRF plays a role.

Defining Specifications

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

SpecificationTitleRelease
TS 24.229 vj50 IMS call control protocol based on SIP and SDP Rel-19
TS 24.802 vc10 IMS II-NNI Traversal Scenario Determination Study Rel-12
TS 29.079 vj00 Optimal Media Routeing (OMR) Procedures Rel-19
TS 29.162 vj00 IMS-IP Network Interworking Rel-19
TS 29.165 vj10 Inter-IMS Network to Network Interface (NNI) Rel-19
TR 29.949 vj00 VoLTE IMS Roaming Architecture & Procedures Rel-19
TS 32.240 vj40 Charging Management Architecture & Principles Rel-19
TS 32.260 vj10 IMS Charging Management Rel-19
TS 33.107 vj00 Lawful Interception Architecture & Functions Rel-19