open5gs/src
Bostjan Meglic babc30940a [AMF] Do not send Deregistration Event to UDM when UE deregisters
According to TS 23.502, 4.2.2.2.2, AMF sends Registration event to UDM
in the following cases:
- If the AMF has changed since the last Registration procedure, or
- if the UE provides a SUPI which doesn't refer to a valid context in
the AMF,
- or if the UE registers to the same AMF it has already registered
to a non- 3GPP access (i.e. the UE is registered over a non-3GPP access
and initiates this Registration procedure to add a 3GPP access).

In case that UE re-registers to the network with a GUTI, it bypasses
authentication check to the AUSF. In this case, AMF does not send
Registration event to UDM.
Consequently, when UE deregisters again, AMF would send a Deregistration
Event to a UDM, which does not have a context for it.

3GPP standard does not say when AMF sends Deregistration Event to UDM,
only that it is optional.

These (De-)Registration events are for (de-)registering AMF to the UDM
for serving the UE. And not for (de-)registering UE itself for purpose
of tracking when UE is registered on the network.

This partially reverts commit 7be7029ac4
2022-07-11 22:44:07 +09:00
..
amf [AMF] Do not send Deregistration Event to UDM when UE deregisters 2022-07-11 22:44:07 +09:00
ausf [SBI] Change NfInstance.Id to Optional 2022-06-18 23:56:12 +09:00
bsf [SBI] Change NfInstance.Id to Optional 2022-06-18 23:56:12 +09:00
hss Fixed a crash when slice/session overflow (#1637) 2022-06-30 13:33:16 +09:00
mme [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
nrf [SBI] Change NfInstance.Id to Optional 2022-06-18 23:56:12 +09:00
nssf [SBI] Change NfInstance.Id to Optional 2022-06-18 23:56:12 +09:00
pcf [SBI] Change NfInstance.Id to Optional 2022-06-18 23:56:12 +09:00
pcrf [Gy] Follow-up PRs (#1479) 2022-04-09 10:41:02 +09:00
sgwc [ALL] Fix differences in function parameter names between definition and declaration 2022-07-01 21:38:47 +09:00
sgwu Set v4/v6 flags in local F-TEID (#1625) 2022-06-24 15:16:54 +09:00
smf [PFCP] Added UE IP address in the EPC (#1642) 2022-07-04 17:37:00 +09:00
udm [SBI] Change NfInstance.Id to Optional 2022-06-18 23:56:12 +09:00
udr Fixed a crash when slice/session overflow (#1637) 2022-06-30 13:33:16 +09:00
upf [UPF] N4: Remove unnecessary assert (#1634) 2022-06-29 11:10:43 +09:00
main.c [SBI] Remove one octet length in FQDN (#1333) 2022-01-23 13:49:03 +09:00
meson.build [5GC] Added BSF(Binding Support Function) 2021-05-29 15:56:12 +09:00