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.
Key Features
- SIP signaling proxy/B2BUA for inter-operator and roaming session routing
- Topology Hiding Gateway (THIG) functionality to conceal internal network topology
- Security screening and filtering of inbound/outbound SIP messages
- Policy enforcement for inter-operator routing and service authorization
- Interaction with AAA for roaming user authentication and profile retrieval
- Support for IMS interconnection via IP Exchange (IPX) networks
Evolution Across Releases
Initial introduction of the TRF into the IMS architecture. Defined its functional role as a border control function for SIP signaling, specifying requirements for topology hiding, security screening, and policy-based routing for sessions involving roaming users or inter-operator transit. Established its interfaces with CSCFs and the Diameter-based AAA.
Defining Specifications
| Specification | Title |
|---|---|
| TS 24.229 | 3GPP TS 24.229 |
| TS 24.802 | 3GPP TS 24.802 |
| TS 29.079 | 3GPP TS 29.079 |
| TS 29.162 | 3GPP TS 29.162 |
| TS 29.165 | 3GPP TS 29.165 |
| TS 29.949 | 3GPP TS 29.949 |
| TS 32.240 | 3GPP TR 32.240 |
| TS 32.260 | 3GPP TR 32.260 |
| TS 33.107 | 3GPP TR 33.107 |