commit | 96eb0938db167ed06b31b83c9e4c017371cdea96 | [log] [tgz] |
---|---|---|
author | Alexander Couzens <lynxis@fe80.eu> | Fri Nov 10 14:45:02 2023 +0100 |
committer | Alexander Couzens <lynxis@fe80.eu> | Sat Nov 11 19:18:50 2023 +0100 |
tree | 2784c7224041479226eb73e698ca40cec025ab7a | |
parent | cdd84e4a5a7cf7bccb3c5492ea1ec5a5ab5ab6ec [diff] |
osmo_dia2gsup: set Origin-State-Id To allow the remote side to detect restarts. See RFC6733. Related: OS#6155 Change-Id: I3693bad6030d41db4e28bd5f343c5db912789344
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
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
rebar3 release