Clone this repo:
  1. e9c2b1d osmo_dia2gsup: add config option diameter_connect_timer by Alexander Couzens · 5 months ago master
  2. 96eb093 osmo_dia2gsup: set Origin-State-Id by Alexander Couzens · 6 months ago
  3. cdd84e4 rebar3: define a release by Alexander Couzens · 9 months ago
  4. be94530 gsup: implement a (re-)connect the GSUP link if it fails by Alexander Couzens · 8 months ago
  5. ed39915 Bump version: 0.2.0 by Oliver Smith · 6 months ago 0.2.0

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

Passing a config file:

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

Running it as an escript:

$ rebar3 escriptize
$ ERL_FLAGS='-config ./examples/sys.config' _build/default/bin/osmo-dia2gsup

Build a new release

rebar3 release