commit | 89ac8713e57802605ec3aa2360ad312e02187496 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Thu Aug 24 17:12:00 2023 +0200 |
committer | pespin <pespin@sysmocom.de> | Fri Aug 25 14:09:00 2023 +0000 |
tree | 029688c3a9d43a702416825ae3079b98b7d4ac13 | |
parent | ab4e541e01c4bec9829c1c800beb0f1797b20023 [diff] |
cosmetic: Fix typo in comment Change-Id: I1f6a47aa8eb59224f4259969707f7e41d3c56a18
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.
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
Unit tests can be run this way:
$ rebar3 eunit
Once osmo_dia2gsup is built, you can start it this way:
$ rebar3 shell 1> osmo_dia2gsup:start().
Passing a config file:
$ rebar3 shell --config ./examples/sys.config 1> osmo_dia2gsup:start().
Running it with one shell command:
$ rebar3 shell --config ./examples/sys.config --eval "osmo_dia2gsup:start()."
Running it as an escript:
$ rebar3 escriptize $ ERL_FLAGS='-config ./examples/sys.config' _build/default/bin/osmo-dia2gsup