commit | 3ae6192d13806df104150ee376127aba6be53664 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Thu Aug 24 18:00:36 2023 +0200 |
committer | laforge <laforge@osmocom.org> | Mon Aug 28 15:39:18 2023 +0000 |
tree | df3905fd0f485c7a929d0985bb9cb753c4317d64 | |
parent | 1433617db7c5bbd7f775e82dbb1f8ca4e4ee8203 [diff] |
gsup: Attempt reconnecting if connect fails Related: OS#5657 Change-Id: I47b6db0f0267bbd4c80fbac9d51a8647862827a0
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