commit | e9c2b1ddaa2cc9eba23e8b2285a6691ba795bdf6 | [log] [tgz] |
---|---|---|
author | Alexander Couzens <lynxis@fe80.eu> | Sat Nov 11 18:57:03 2023 +0100 |
committer | Alexander Couzens <lynxis@fe80.eu> | Sat Nov 11 19:18:52 2023 +0100 |
tree | 60578e0d366d21a1d491592bc233d4a66d1f8ffc | |
parent | 96eb0938db167ed06b31b83c9e4c017371cdea96 [diff] |
osmo_dia2gsup: add config option diameter_connect_timer The diameter_connect_timer can be set to reduce the ttcn3 timing. Otherwise every test case would need to wait for at least one connect timer period to succeed. Related: OS#5657 Change-Id: I669a76022d866824e7b4e9f30dd7e51aa714ae7d
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