SMS-GMSC invokes the Nnrf_NFDiscovery to discover and select the UDM instance(s), supporting SMS SBI interfaces, and managing the user subscriptions of the GPSI. The SMS-GMSC may need to retrieve the PLMN ID of the recipients GPSI before the discovery of the UDM instance based on the GPSI-to-Subscription-Network resolution procedure defined in clause 5.1.7.
If no UDM supporting SMS SBI could be discovered, the NRF indicates so to SMS-GMSC (by not including any UDM instance in the discovery response), and SMS-GMSC shall quit the SBI-based procedure and fallback to legacy (MAP/Diameter) protocol based procedures, as defined in TS 23.040,
or if a UDM supporting SMS SBI is discovered and selected, NRF returns the IP addresses or FQDNs of the serving UDM to provide Nudm_UECM_SendRoutingInfoForSM service to SMS-GMSC.
The UDM shall check the registration/reachability flags to determine the potential target nodes, e.g. the SMSF. For MT SM transfer via an SMS Router, the UDM shall invoke the Nrouter_SMService_RoutingInfo to provide the SMSF Instance Id to the SMS Router. The address of the SMS Router to be contacted by the UDM may be configured locally.
If the MPS for Messaging indication is set (enabled) in the UDM, the UDM includes the MPS for Messaging indication in the Nrouter_SMService_RoutingInfo request and sets the transport priority (e.g., DSCP and the Message Priority header) of the response to a value appropriate for MPS and handles the request with priority.
The SMS Router shall send Nrouter_SMService_RoutingInfo response to the UDM. If the MPS for Messaging indication is set (enabled) from the UDM, the SMS Router sets the transport priority (e.g., DSCP and the Message Priority header) of the response to a value appropriate for MPS and handles the response with priority.
The UDM responds to the SMS-GMSC by sending a Nudm_UECM_SendRoutingInfoForSM response, including the SMS Router address, the indication for SMSF SMS_SBI support and the indication for SMS Router SMS_SBI support. If the MPS for Messaging indication is set (enabled) in the UDM, the UDM includes the MPS for Messaging indication in the Nudm_UECM_SendRoutingInfoForSM response and sets the transport priority (e.g., DSCP and the Message Priority header) of the response to a value appropriate for MPS and handles the response with priority.
The SMS-GMSC forwards the SMS message to the SMS Router, and then the SMS Router forwards the SMS message to the SMSF. If the SMS Router has more than one SMSF address to use for SMS transport towards the UE, then the SMS Router chooses which SMSF address to use first, based on operator local policy.
The SMS-GMSC selects protocol based on the indications for SMSF SMS_SBI support and SMS Router SMS_SBI support.
If both the SMSF and the SMS Router indicate support for SMS_SBI, the SMS-GMSC discovers the appropriate service instance(s) of the target SMS Router and forwards the SMS message to the SMS Router by invoking the Nrouter_SMService_MtForwardSm service operation. And then the SMS Router forwards the SMS message to the SMSF by invoking the Nsmsf_SMService_MtForwardSm service operation. If the SMS message from the SC provides a priority indication (the priority indication is out of scope of the present document) or if the MPS for Messaging indication from the UDM is set (enabled), the SMS-GMSC sets the transport priority (e.g., DSCP and the Message Priority header) of the response to a value appropriate for MPS and handles the response with priority.
If the SMSF or the SMS Router indicates that it does not support SMS_SBI, the SMS-GMSC should forward the SMS message to the SMS Router using the legacy MAP/Diameter protocol. Then SMS Router forwards the SMS message to the SMSF using the legacy MAP/Diameter protocol. If the SMS message from the SC provides a priority indication (the priority indication is out of scope of the present document) or if the MPS for Messaging indication from the UDM is set (enabled), the SMS-GMSC sets the transport priority (e.g., DSCP and Diameter priority) of the SMS message to a value appropriate for MPS and handles the response with priority. MPS for Messaging is not supported for the MAP protocol. The following steps follow the procedures for legacy MT SMS message transfer, as illustrated in Figure 15aa of TS 23.040.
The SMS-GMSC may report the SM-Delivery Status to the UDM by invoking the Nudm_ReportSMDeliveryStatus_Request, the UDM responds with a Nudm_ReportSMDeliveryStatus_Request response to the SMS-GMSC.