althea-net / open5gs

Open5GS is a C-language Open Source implementation for 5G Core and EPC, i.e. the core network of LTE/NR network (Release-16)
https://open5gs.org
GNU Affero General Public License v3.0
1 stars 1 forks source link

[sgwc] send s11 error to mme on s5c timeout #74

Closed spencersevilla closed 1 year ago

spencersevilla commented 1 year ago

Right now, if the sgwc sends an s5c message to the pgw and it does not get a response, gtp_sess_timeout() simply logs an error-message. With this fix, the sgwc also sends a GTP error message (with cause OGS_GTP2_CAUSE_PGW_NOT_RESPONDING) back to the mme. It also expands gtp_sess_timeout() to cover Create Session Requests as well as GTP Delete Session Requests.