Commit Graph

13 Commits

Author SHA1 Message Date
Alexander Couzens b8aef30a14 gsup: convert all unknown causes into diameter UNABLE_TO_COMPLY
Change-Id: I7f19bf1fb3676a1302f0d6d7d7450a3f201ba5bb
2023-09-02 17:44:23 +02:00
Alexander Couzens 6ba22c2dbd server_cb: use a define for the VENDOR_3GPP code
Also use a proper variable name

Change-Id: I9bd99998963624f7688b972cbb3908fae5686231
2023-09-02 17:41:27 +02:00
Pau Espin b524e24dec Translate GSUP Auth Info Answer error Cause in Diamater AIA
Change-Id: I32622713c2c1f40e1d9c5597ffab8cb211171fc2
2023-09-02 17:41:10 +02:00
Pau Espin 5e11d28cd6 Add GMM error cause present in osmo-hlr's gsm48_gmm_cause_vty_names
Change-Id: I77336cb2c76a516ecea5b46500da91fd4230176d
2023-08-30 20:50:40 +02:00
Alexander Couzens 7c912ff07b Use GSUP APN as Service-Selection field
Previous the osmo-hlr always sent a wildcard APN as the only APN
which violates the spec. Further wildcard APNs aren't support
by the current Open5gs.
Since I540132ee5dcfd09f4816e02e702927e1074ca50f the osmo-hlr
supports multiple APN in the subscriber data.

Related: SYS#6391
Change-Id: I2a0af5d785ce62968f6e3952602d92cb4f37e4ab
2023-06-11 19:27:57 +00:00
Matt Johnson 9e0bd808bf server_cb: Improve handling resynchronization info
This commit improves handling of the resynchronization information in
a DIAMETER request from a UE that has a sync failure. It factors
parsing of the resync info into a helper function with a defined spec,
and handles the resynchronization info as a binary rather than a
string.

Change-Id: I2aad313d4d37d07040bc5344de3a023d34fd8ded
2022-08-19 15:20:38 +00:00
Daniel Willmann 592cc8bc19 server_cb: Fix issue with Erlang/OTP 24
Erlang/OTP 24 dropped crypto:hmac, so use crpyto:mac(hmac, ...) instead.

See https://github.com/riverrun/one_time_pass_ecto/issues/9

Change-Id: I7d916eb1f1435b3ac3fc362bb2f4daa7bbb8bb1a
2022-04-23 14:53:10 +02:00
Harald Welte 388d387dcc Send supported and current RAT type in GSUP to OsmoHLR
Particularly the CURRENT_RAT_TYPE is what tells OsmoHLR to provide
tuples with AMF separation bit for EUTRAN, and not foe GERAN/UTRAN.
2019-12-01 17:03:15 +01:00
Harald Welte 6f5290846f cosmetic: fix copy+paste mistake in comment 2019-08-21 14:54:27 +02:00
Harald Welte 332fe7ff8b Implement UMTS AKA re-sync support (untested) 2019-08-20 22:36:50 +02:00
Harald Welte 299ba939ab first working version translating both AIR/AIA and ULR/ULA 2019-08-15 18:31:12 +02:00
Harald Welte 44da7d743f WIP 2019-08-14 13:28:08 +02:00
Harald Welte 61276c4170 fixup 2019-08-10 22:58:39 +02:00