lynxis lazus has uploaded this change for review.

View Change

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
---
M src/server_cb.erl
1 file changed, 18 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/erlang/osmo_dia2gsup refs/changes/14/32514/1
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 @@
'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)

To view, visit change 32514. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: erlang/osmo_dia2gsup
Gerrit-Branch: master
Gerrit-Change-Id: I2a0af5d785ce62968f6e3952602d92cb4f37e4ab
Gerrit-Change-Number: 32514
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>
Gerrit-MessageType: newchange