commit | 4ad70ecfbdb9becf5edc87868be7ce368a149b99 | [log] [tgz] |
---|---|---|
author | Alexander Couzens <lynxis@fe80.eu> | Fri Sep 01 15:42:18 2023 +0200 |
committer | Alexander Couzens <lynxis@fe80.eu> | Fri Sep 01 15:42:18 2023 +0200 |
tree | 9ab5dbdb3081fbc6c87e9b7b18ac5fd4b19e3ad0 | |
parent | 53f7125cfc7c2ddc9e7e2bdedceeba3a32eb84d3 [diff] |
server_cb: use a define for the VENDOR_3GPP code Also use a proper variable name Change-Id: I9bd99998963624f7688b972cbb3908fae5686231
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