Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send Deregistration Notify before UDM modifies the UE context (#25)
* Send Deregistration Notify before UDM modifies the UE context * If sending Deregistration Notify after UDM modifies the UE context, old AMF can't deregister for the UE. * Fix lint error * Modify RegistrationAmf3gppAccessProcedure * Compare the old UECM context with the new one to determine whether to send a deregistration notification. * Use goroutine to send a deregistration notification to old AMF. * Modify HandleRegistrationAmf3gppAccessRequest and SendOnDeregistrationNotification * Supplement the missed patch. * Add query parameters to differentiate whether the type is implicit or explicit. * Modify RegistrationAmf3gppAccessProcedure - Remove the query parameter - Replace the DeregReason with UE_INITIAL_REGISTRATION, since it's triggered during the registration procedure * deregReason should be DeregistrationReason_UE_INITIAL_REGISTRATION if InitialRegistrationInd is true --------- Co-authored-by: Tim Liu <[email protected]>
- Loading branch information