Figure 5.4.5-1 shows the scenario where the HSS receives a Subscription to notification request for UE-reachability from the IMS-AS for a subscriber who has a 5GC subscription.
The HSS sets the UE Reachability flags for EPC and if the UE is registered in EPC contacts the registered MME and SGSN to get notified when the UE becomes reachable.
If the HSS detects in step 2 that the user has a 5GC subscription, the HSS uses the Nudm_EventExposure_Subscribe service operation (one time immediate report requested) to get notified when the UDM detects UE reachability for SMS over IP. Otherwise, continue with step 10.
The UDM sets the URRP-AMF flag in the 5GS-UDR and reads data from the 5GS-UDR to get the AMF for 3GPP Access Registration Information and the AMF for non-3GPP Access Registration Information if any.
[Conditional] If an AMF is registered in UDM for the target UE and the UDM has not already subscribed in AMF due to a previous subscription from a different NF, the UDM subscribes to UE reachability notifications at the registered AMFs by means of the Namf_EventExposure_Subscribe service operation (see TS 23.502).
The UDM acknowledges step 1 towards the AMF. If an old AMF is registered in the UDM, the UDM sends a Nudm_UECM_DeregistrationNotification service operation to the old AMF.