open5gs/tests
Sukchan Lee 4642ef5a18 mme: Delete session when default E-RAB setup fails
When the MME receives an E-RAB Setup Response with failure for the
default bearer, the PDN session remains in MME/SGWC context even
though it was never activated. As a result, when the UE retries
PDN Connectivity Request for the same APN, the MME prints
"APN duplicated [ims]" and rejects the request.

This patch fixes the issue by sending a Delete Session Request
toward SGWC when the default E-RAB setup fails. The failed PDN
session is then removed, allowing the UE to reattempt PDN
connectivity for the same APN.

Added a new regression test (test_issues4141_func) that reproduces
the scenario:
 - First PDN Connectivity Request for IMS fails (E-RAB setup failure)
 - MME sends Delete Session Request
 - Second PDN Connectivity Request for IMS succeeds normally

Issue: #4141
2025-11-06 21:36:56 +09:00
..
310014 [MME] Problem keep changing PDN-Type (#3209) 2024-05-18 14:01:00 +09:00
af Typos Fix 2025-04-19 20:45:25 +09:00
app [AMF] Fix UE context transfer when only NRF is client (#3880) 2025-05-31 20:51:06 +09:00
attach MME: handle EPS Bearer Context Status mismatch when active_flag=0 (#4112) 2025-10-16 21:46:38 +09:00
common MME: handle EPS Bearer Context Status mismatch when active_flag=0 (#4112) 2025-10-16 21:46:38 +09:00
core [DBI] Improve YAML policy config by adding SUPI range filtering 2025-02-05 21:56:15 +09:00
crypt Fixed dynamic-stack-buffer-overflow (#2578, #2577) 2023-09-05 21:58:05 +09:00
csfb MME: handle EPS Bearer Context Status mismatch when active_flag=0 (#4112) 2025-10-16 21:46:38 +09:00
fuzzing [Fuzzing] bug fix 59062 and increasing converge 2023-05-25 22:47:47 +09:00
handover MME: handle EPS Bearer Context Status mismatch when active_flag=0 (#4112) 2025-10-16 21:46:38 +09:00
non3gpp Merge branch 'main' into home-routed 2025-04-06 18:36:57 +09:00
registration [AMF] Fix crash on malformed NGSetupRequest PLMNIdentity 2025-09-23 23:08:42 +09:00
sctp [SCTP] Support setting local address (#3344) 2024-12-23 21:16:15 +09:00
slice [AMF,SMF] Prevent mapped HPLMN SST to always be set 2025-01-11 20:22:46 +09:00
transfer [AMF] Fix UE context transfer when only NRF is client (#3880) 2025-05-31 20:51:06 +09:00
unit Merge branch 'main' into home-routed 2025-04-06 18:36:57 +09:00
volte mme: Delete session when default E-RAB setup fails 2025-11-06 21:36:56 +09:00
vonr [HR] Support Xn/N2 handover for Home-Routed Roaming (Direct Forwarding only) (#2194) 2025-07-14 22:03:32 +09:00
meson.build [AMF] Registation status update and tests 2024-09-03 22:09:56 +09:00