open5gs/src
Sukchan Lee fdea4cc181
Some checks failed
Meson Continuous Integration / Build and Test on Ubuntu Latest (push) Has been cancelled
[SMF/MME] Recover the IMS PDN on an EPC GTP-U Error Indication
On a GTP-U Error Indication for an EPC session, the SMF deleted the whole
PFCP session for any Error Indication and never notified the MME. A single
transient, handover-induced Error Indication on a dedicated (voice) bearer
therefore tore down the entire IMS PDN, and because no Delete Bearer
Request was sent to the MME, the MME and UE kept a stale IMS PDN
connection - the UE could not place a new VoLTE call until it re-attached.

SMF (src/smf/n4-handler.c, src/smf/pfcp-path.c):
Map the Error Indication FAR to its bearer and run a PGW-initiated bearer
deactivation instead of a blind session deletion, per 3GPP TS 23.007:
  - dedicated bearer -> deactivate only that bearer (IMS PDN survives);
  - default bearer   -> deactivate the whole PDN connection.
smf_gtp2_send_delete_bearer_request() sets the Linked EBI (default) or the
EPS Bearer ID (dedicated), so the MME deactivates the EPS bearer toward the
UE and stays in sync. The PFCP session is deleted on the Delete Bearer
Response (wait_pfcp_deletion). The default-bearer case uses cause
"Reactivation requested" so the UE re-establishes the PDN.

MME (src/mme/mme-s11-handler.c, mme-path.c, mme-context.h, nas-path.c,
nas-path.h, esm-sm.c):
Map the GTPv2 Cause "Reactivation requested" (#8) on a default-bearer
Delete Bearer Request to NAS ESM cause #39 "reactivation requested"
(TS 29.274 Table C.3) so the UE re-establishes the IMS PDN. The mapping is
restricted to the default bearer (Linked EBI). Carry the ESM cause across
paging in mme_ue->paging.esm_cause so an ECM-IDLE UE also receives it after
paging; previously the post-paging path always used REGULAR_DEACTIVATION.

The TS 29.274 Table C.3 "re-attach required" mapping for the last PDN
connection is intentionally not implemented (Attach without PDN
connectivity and SCEF PDN connections are not supported here); the last
default bearer is deactivated with ESM cause #39 as well.

Issues: #4659
2026-07-01 20:05:57 +09:00
..
amf amf/mme: release newly allocated RAN/eNB UE contexts on error paths 2026-06-26 22:01:34 +09:00
ausf merge main branch 2026-06-10 09:07:45 +09:00
bsf merge main branch 2026-06-10 09:07:45 +09:00
hss hss/cx: Stop IMSI extraction at IMPI realm separator 2026-06-26 14:57:27 +09:00
mme [SMF/MME] Recover the IMS PDN on an EPC GTP-U Error Indication 2026-07-01 20:05:57 +09:00
nrf Merge branch 'main' into r19 2026-06-15 17:58:50 +09:00
nssf merge main branch 2026-06-10 09:07:45 +09:00
pcf pcf: send TerminationInfo body in policyauthorization terminate notify 2026-06-20 22:21:26 +09:00
pcrf [PCRF] Check for QCI 5 only in case of 3GG RAT during Rx AAR for IMS signalling 2025-09-16 06:41:20 +09:00
scp Release v2.8.0 2026-06-20 12:38:31 +09:00
sepp merge main branch 2026-06-10 09:07:45 +09:00
sgwc sgwc: reclaim orphaned indirect forwarding tunnels 2026-06-29 09:30:25 +09:00
sgwu UPF: Fix crash on CH F-TEID address family mismatch for selected DNN 2025-11-27 17:15:29 +09:00
smf [SMF/MME] Recover the IMS PDN on an EPC GTP-U Error Indication 2026-07-01 20:05:57 +09:00
udm merge main branch 2026-06-10 09:07:45 +09:00
udr merge main branch 2026-06-10 09:07:45 +09:00
upf upf: Implement UE-to-UE hairpin in the GTP-U path 2026-02-26 06:07:35 +09:00
main.c Merge branch 'main' into home-routed 2025-04-06 18:36:57 +09:00
meson.build [SEPP] Initial Update for 5G Roaming (#2739) 2023-11-19 19:34:51 +09:00