The SMS-GMSC sends Nudm_UECM_SendRoutingInfoForSM to the SCP to get the serving node instance for UE from the UDM. As specified in the Indirect Communication with Delegated Discovery model, the Nudm_UECM_SendRoutingInfoForSMt shall contain the discovery factors containing the GPSI (pointing to the Number Range Holder Network) and an indicator (i.e. "target-nw-resolution") that Subscription Network resolution is delegated to the SCP. The "target-nw-resolution" may also be sent by an SCP to the next hop SCP. The SCP receives the "target-nw-resolution" shall query the NF service consumer (MNPF) to obtain the PLMN ID of the recipient GPSI's subscription network.
The SCP shall query the NRF to find the MNPF instance that manages the PLMN ID of the recipients GPSI's subscription network. The MNPF may belong to the same PLMN with SMS-GMSC or belong to the number range holder network which is different with the PLMN of SMS-GMSC. In latter case, the local NRF forwards the discovery request to the NRF of the number range holder PLMN.
The SCP determines the target PLMN of the recipients GPSI's subscription network using the SBI service of the MNPF i.e. the SCP invokes Nmnpf_NPStatus_Get (GPSI) to the MNPF.
The UDM shall check the registration/reachability flags to determine the potential target nodes and responds to the SCP by sending Nudm_UECM_SendRoutingInfoForSM response, in this procedure the SMSF instance Id is included in the response message.