This document describes the AMF Mobile-Terminated Location Request (MT-LR) functionality, integration, and troubleshooting for network engineers.
Cisco recommends that you have knowledge of the functionality of Access and Mobility Management Function (AMF)
The information in this document is in relation with Cisco AMF which is the AMF in 5G Core Network.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, ensure that you understand the potential impact of any command.
Location services are fundamental in modern mobile networks, not just for user experience but also for critical regulatory requirements like emergency calls and lawful intercepts. In the 5G core, the AMF plays a pivotal role in handling these location requests.
The AMF supports various types of location requests, including Network Induced Location Request (NI-LR) and MT-LR.
MT-LR is initiated when an external entity, typically the Gateway Mobile Location Center (GMLC), requests the location of a User Equipment (UE). The GMLC forwards this request to the AMF, which then coordinates with the Location Management Function (LMF) to determine the precise location of the user equipment. Once identified, the location information is sent back to the GMLC.
The AMF can provide either the 'current location' or the 'current or last known location' for MT-LRs, offering flexibility based on the urgency and the activity state of the user equipment.
For the MT-LR process, the AMF primarily communicates with:
The MT-LR process involves three major exchanges between the AMF, GMLC, and LMF:
Explanation of the these three stages and common integration challenges are explained here.
The MT-LR process begins when the GMLC sends a ProvidePosInfoRequest to the AMF. This request is crucial as it kicks off the entire location determination sequence. The AMF then coordinates with other network functions, like the LMF, to retrieve the location of the user equipment.
A common integration issue arises with the UE identifier used in the ProvidePosInfoRequest (specifically, Namf_Location ProvidePositioningInfo).
Post a successful ProvidePosInfoRequest, the AMF sends a Namf_Location DetermineLocationRequest to the LMF. This request contains essential information such as AMFID, correlationid, NCGI, PEI, SUPI, and ueConnectivityStates to assist the LMF in determining the location of the user equipment.
After the LMF processes the DetermineLocationRequest, it initiates the UE positioning procedure. The LMF sends an N1/N2 message to the AMF, which acts as a forwarder to the gNB (N2) or directly to the UE (N1). The AMF then receives the location information back from the gNB/UE and shares it with the LMF.
This forwarding mechanism is critical:
A significant integration challenge here involves the message format for transferring N1/N2 containers:
"amf-rest-ep-1 [ERROR] [common_validation.go:288] [amf-rest-ep.amf-app.smf] NOT Received the Mandatory IE: Both N1 / N2 Container not received".
This often occurs because the LMF is not transferring the request body as multipart/related but instead uses an incorrect format (for example, line-based text data). The AMF fails to decode and validate the message correctly.
The LCS Correlation ID is an unique identifier used to link and track all messages and procedures related to a single Location Services (LCS) session (like an MT-LR) across different network functions (AMF, LMF, gNB). It ensures proper context for positioning requests.
"[ERROR] [amf-service.amf-app.n1n2] Invalid LCS correlation ID".
The MT-LR feature in the 5G AMF is crucial for location services. While the underlying call flow is standardized, successful integration and operation depend heavily on strict adherence to 3GPP specifications, especially concerning UE identifiers, message formatting for N1/N2 containers, and consistent use of the LCS Correlation ID.
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
04-May-2026
|
Initial Release |