commit | be945307eb8b41a338e27a57fc5a3e833207a6fe | [log] [tgz] |
---|---|---|
author | Alexander Couzens <lynxis@fe80.eu> | Fri Sep 01 15:23:07 2023 +0200 |
committer | Alexander Couzens <lynxis@fe80.eu> | Fri Nov 10 13:19:20 2023 +0100 |
tree | 1e62e54b5551912829483841a6cc94eb0dac8e9b | |
parent | ed3991574ac8707b4c7ea4a3dd191f3a4791eb83 [diff] |
gsup: implement a (re-)connect the GSUP link if it fails Change-Id: Id531d202ded123786d7a41dd0d7c3695af59fc2d
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