commit | b8aef30a1422d8d03cc7bee905ace815269ec449 | [log] [tgz] |
---|---|---|
author | Alexander Couzens <lynxis@fe80.eu> | Fri Sep 01 15:44:58 2023 +0200 |
committer | Alexander Couzens <lynxis@fe80.eu> | Sat Sep 02 17:44:23 2023 +0200 |
tree | bfb26eecba2d00f46ef969870738bf59423d6d91 | |
parent | 6ba22c2dbd2e585064a464e85db9d7c9618abe65 [diff] |
gsup: convert all unknown causes into diameter UNABLE_TO_COMPLY Change-Id: I7f19bf1fb3676a1302f0d6d7d7450a3f201ba5bb
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