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
2 files changed
tree: 82454915ddd543bef8d2d432da4c3e9d4b0ecd51
  1. contrib/
  2. debian/
  3. dia/
  4. examples/
  5. src/
  6. .gitignore
  7. .gitreview
  8. README.md
  9. rebar.config
  10. rebar.lock
README.md

= Osmocom DIAMETER -> GSUP translator =

This project implements a proxy translating Diameter into GSUP, hence allowing Diameter clients connecting to GSUP server. This allows, for instance, using OsmoHLR as an HSS used by 4G/5G nodes.

== Building ==

Install erlang and rebar3 packages (not "rebar", that's version 2! You may need to compile it from source in some distros).

$ rebar3 compile $ rebar3 escriptize

== Testing ==

Unit tests can be run this way: $ rebar3 eunit

== Running ==

Once osmo_dia2gsup is built, you can start it this way:

$ rebar3 shell

In the erlang shell:

1> osmo_dia2gsup:start().

== Configuration ==

$ rebar3 shell --config ./examples/sys.config

1> osmo_dia2gsup:start().