MNPF

Mobile Number Portability Function

Services →
Introduced in Rel-17

MNPF is a 5G network function that enables other functions to query the current serving network for a ported mobile number, supporting portability for services like voice and SMS.

Category
Services
Introduced
Rel-17
Where
Core Network › 5G Core
Specifications
2 specs
MNPF Description Purpose Related Classification Detected Changes Specifications

Description

The Mobile Number Portability Function (MNPF) is a service-based network function introduced in 5G Standalone (SA) architecture to manage Mobile Number Portability (MNP). It operates within the 5G Core's Service-Based Architecture (SBA), exposing its capabilities as a producer of Network Repository Function (NRF)-discoverable services, primarily to the Unified Data Management (UDM) and other session management functions. When a network function needs to determine the current serving Public Land Mobile Network (PLMN) for a given mobile subscriber number (MSISDN)—for example, during the routing of an SMS-MT or an IMS voice session—it can invoke a service operation (e.g., Nnpf_NPResolution_Get) provided by the MNPF. The MNPF then acts as the centralized point of contact for number portability resolution, internally querying external Number Portability Databases (NPDBs) or caches to retrieve the routing information.

Architecturally, the MNPF is designed as a cloud-native, scalable microservice. It communicates with other 5G Core functions using HTTP/2-based service-based interfaces, specifically the Nnpf interface. Its key internal logic involves receiving a resolution request containing an MSISDN, applying any necessary number normalization, performing a lookup via a configured data source (which could be a direct query to an external NPDB, an internal cache, or a sync from a central data repository), and returning a response. The response includes the currently serving PLMN ID (Mobile Country Code and Mobile Network Code) for the queried number. This information is then used by the requesting function, such as the UDM, to determine the correct network for subsequent procedures like SMS routing or subscriber data retrieval.

How it works involves seamless integration with 5G procedures. For instance, when the Short Message Service Function (SMSF) needs to deliver an SMS to a ported-in subscriber, it may consult the UDM for routing info. The UDM, in turn, invokes the MNPF if the subscriber's data indicates a ported status or if a resolution is required. The MNPF's design emphasizes low latency and high availability, crucial for real-time communication services. It also supports features like batch queries and subscription to number portability data changes, allowing other functions to cache data efficiently. Its role is distinct from legacy MNP-SRF as it is not a signaling relay but a pure query service integrated into the control plane's service mesh.

Purpose & Motivation

The MNPF was created to modernize and integrate Mobile Number Portability into the 5G Service-Based Architecture. Previous solutions like the MNP-SRF were designed for legacy circuit-switched and early IMS networks, often acting as a signaling interception point. The 5G core, with its cloud-native, microservices-based design, required a new approach where MNP capability is provided as a consumable service to various network functions, aligning with the SBA principles of decoupling, reusability, and dynamic discovery.

It solves the problem of efficiently and scalably providing portability information in a 5G environment where services are decomposed. Without a dedicated MNPF, each network function (like UDM, SMSF) would need to implement its own complex logic to interface with external NPDBs, leading to duplication, inconsistent behavior, and increased operational complexity. The MNPF centralizes this capability, providing a single, standardized service endpoint.

The motivation for its introduction in Release 17 was to ensure full support for regulatory MNP requirements in 5G SA networks, covering all communication services including voice, SMS, and emerging services. It addresses limitations of relying on interworking with legacy networks for MNP resolution, enabling pure 5G deployments to be self-sufficient. It also facilitates easier deployment of advanced features like number portability for IoT and massive machine-type communication scenarios within the 5G framework.

Classification

Specific typesMNP-SRF
Related approachesUDMNEF

Detected Changes Across Releases

from 3GPP Change Requests

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

Rel-17 2 changes

In Release 17, the MNPF was integrated into the 5G Service-Based Interface (SBI) architecture for SMS, introducing new reference points (SM12, SM13, SM14) for communication between the SMS-GMSC, SCP, NRF, and the MNPF. This enables the SMS-GMSC to invoke the new Nmnpf_NPStatus_Get service operation to retrieve a recipient's ported PLMN ID via a standardized, network function-based procedure. The MNPF itself registers in the Network Repository Function (NRF) with a new NF type, allowing it to be discovered for both indirect and direct routing scenarios in the GPSI-to-Subscription-Network resolution process.

  • TS 23.540 Alignment of MNPF TS 23.540CR0001
  • Add NEF and MNPF in SBI-based SMS system architecture TS 23.540CR0002
Rel-18 1 change

In Release 18, the MNPF (Mobile Number Portability Function) was updated to formally support Service-Based Interfaces (SBI) for Number Portability status retrieval, introducing the new Nmnpf_NPStatus_Get service operation. The specification defined a new NF Type for the MNPF to register in the NRF and established procedures, like GPSI-to-Subscription-Network resolution, enabling an SMS-GMSC to query the MNPF to determine the target PLMN ID for a ported number before routing SMS messages.

  • Alignment of MNPF in Rel-18 TS 23.540 TS 23.540CR0012

Explore further

Broader topics and technologies where MNPF plays a role.

Defining Specifications

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

SpecificationTitleRelease
TS 23.540 vj20 5G Service Based SMS Stage 2 Rel-19
TS 29.578 vj30 3GPP TS 29578: MNPF Service Based Interface Rel-19