From 62fa1e2c7f627fda12a92963bb5bfe76dc3fca0e Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 26 Apr 2023 17:58:00 +0000 Subject: [PATCH] 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 --- src/server_cb.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/server_cb.erl b/src/server_cb.erl index fc8e397..da807ef 100644 --- a/src/server_cb.erl +++ b/src/server_cb.erl @@ -149,7 +149,8 @@ gsup_pdp2dia_apn(GsupPdpInfo) -> 'Max-Requested-Bandwidth-DL' = 100000000}, % The default APN Configuration shall not contain the Wildcard APN (see 3GPP TS % 23.003 [3], clause 9.2); the default APN shall always contain an explicit APN - 'Service-Selection' = "internet"%maps:get(access_point_name, GsupPdpInfo) + % 'Service-Selection' = "internet"%maps:get(access_point_name, GsupPdpInfo) + 'Service-Selection' = maps:get(access_point_name, GsupPdpInfo) }. % transient (only in Experimental-Result-Code)