N3G

Non-3GPP Message Gateway

Core Network
Introduced in Rel-15
A 5G Core Network function that routes and processes signaling messages between the core and external non-3GPP application servers or networks. It acts as a secure gateway for SMS, MMS, and other messaging services over non-3GPP accesses.

Description

The Non-3GPP Message Gateway (N3G) is a network function within the 5G Core (5GC) architecture, specified to handle message-based services for User Equipment (UE) connected via non-3GPP access networks. It primarily interfaces with the Short Message Service Function (SMSF) and other application functions, serving as the termination and routing point for messaging traffic (like SMS and MMS) that originates from or is destined to UEs using Wi-Fi or other non-cellular access. The N3G sits at the boundary between the trusted 5G core and external messaging entities or legacy messaging centers. Its key role is to adapt protocols and ensure secure, reliable delivery of messages regardless of the UE's current access type.

Architecturally, the N3G interacts with several 5GC functions. For SMS delivery, it communicates with the SMSF over a service-based interface (e.g., Nsmsf service). When a message needs to be sent to a UE registered over non-3GPP access, the SMSF may invoke the N3G. The N3G then determines the appropriate delivery method, which often involves encapsulating the SMS within an IP-based protocol (like HTTP/2 or other specified protocols in TS 29.538) and routing it via the N3IWF and the N3AN interface to the target UE. It handles functions such as message storage and forwarding if the UE is temporarily unavailable, protocol conversion between legacy SMS protocols (like MAP) and 5GC service-based interfaces, and applying policy controls related to messaging. For UEs, the N3G appears as the endpoint for their messaging service when connected via Wi-Fi, allowing them to send and receive messages without an active 3GPP radio connection.

From a security and operational perspective, the N3G ensures that messaging services over non-3GPP access are subject to the same authentication, authorization, and privacy standards as 3GPP access. It verifies that the UE is properly authenticated in the 5G system (via the AMF and AUSF) before accepting messages on its behalf. The N3G also plays a role in interworking with legacy 2G/3G/4G networks for SMS, acting as a gateway that translates between the Diameter or MAP protocols used in previous generations and the HTTP/2-based service interfaces of the 5GC. This allows for seamless messaging continuity as networks evolve. Its specifications detail the exact message flows, error handling, and charging interactions required to support these services, making it an essential component for providing ubiquitous messaging in a converged 5G network.

Purpose & Motivation

The N3G was created to extend essential telecommunication services, particularly SMS, to UEs that are exclusively or primarily connected via non-3GPP access like Wi-Fi. In pre-5G systems, SMS was tightly coupled with the circuit-switched or packet-switched domains of the cellular radio network. With the increasing prevalence of Wi-Fi calling and data-only devices, there was a clear need for a standardized way to deliver these services over IP-based accesses without relying on a fallback to 3GPP radio. The N3G solves this problem by providing a dedicated, secure gateway within the 5G core for messaging traffic.

Its purpose is to ensure service continuity and parity for messaging across all access types, a critical requirement for services like two-factor authentication, alerts, and person-to-person messaging. Without the N3G, a UE on Wi-Fi might be unable to receive crucial SMS messages, creating a poor user experience and breaking many authentication flows that depend on SMS. The N3G also addresses the architectural shift in 5G towards a service-based core with HTTP/2 interfaces; it acts as the necessary adaptation point between this new core and the existing, often legacy, world of external messaging servers and protocols. By centralizing this function, it simplifies network architecture, enhances security by applying consistent 5G policies, and enables operators to offer a unified messaging service portfolio regardless of how the subscriber connects to the network.

Key Features

  • 5G Core Network function for messaging over non-3GPP access
  • Interworks with the SMSF for SMS delivery and routing
  • Provides protocol adaptation between 5GC service interfaces and legacy messaging protocols
  • Supports message storage and forwarding for unavailable UEs
  • Enables secure SMS delivery over IPsec tunnels via N3IWF
  • Integrates with 5G authentication and policy control frameworks

Evolution Across Releases

Rel-15 Initial

Introduced as a new network function in the 5G Core to support SMS and other messaging services for UEs connected via non-3GPP access. Defined its basic service-based interfaces (e.g., with SMSF) and procedures for message routing, protocol adaptation, and secure delivery over the N3AN reference point.

Defining Specifications

SpecificationTitle
TS 24.244 3GPP TS 24.244
TS 29.538 3GPP TS 29.538