mirror of
https://github.com/open5gs/open5gs.git
synced 2026-08-10 08:54:10 +00:00
Store the Origin-Host and Origin-Realm received in successful AIA and ULA messages, and use the learned identity for subsequent S6a requests. Update the learned identity only in the MME event thread to avoid accessing UE-owned string pointers from freeDiameter callback threads. Preserve existing hss_map routing behavior by using the learned host/realm pair only when no hss_map entry is associated with the UE. Forget the learned identity when: * DIAMETER_UNABLE_TO_DELIVER or DIAMETER_REALM_NOT_SERVED is received * DIAMETER_ERROR_USER_UNKNOWN is received * an MME or SGSN update Cancel-Location-Request is received * the UE context is removed Do not invalidate the identity for other 3xxx result codes, such as DIAMETER_TOO_BUSY, since they do not indicate that the learned identity is invalid. Document the learned HSS routing behavior and reference TS 29.272 clause 7.1.6. Related PR: #4692 |
||
|---|---|---|
| .. | ||
| common | ||
| cx | ||
| gx | ||
| gy | ||
| rx | ||
| s6a | ||
| s6b | ||
| swx | ||
| meson.build | ||