commit | 3c8e580ce69e498f17b0f748826ff99b906d2013 | [log] [tgz] |
---|---|---|
author | Oliver Smith <osmith@sysmocom.de> | Fri Oct 06 14:30:40 2023 +0200 |
committer | Oliver Smith <osmith@sysmocom.de> | Fri Oct 06 14:30:40 2023 +0200 |
tree | e3569e09c36d81f18f47ccceca7607ccccfc00c9 | |
parent | b8aef30a1422d8d03cc7bee905ace815269ec449 [diff] |
debian/rules: extract build_dep.tar.gz first Currently dh_auto_build is a no-op, but move extracting depends up in case we add a Makefile here too. Related: osmo-epdg I2bb0b5f608cd5d9a24c2a367425c524447bd002c Change-Id: Ib64671a8b4629dde1e21b18a6405f7ae7d87a46f
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