commit | 1b6291e3134fa2b6cd2e6a68e773d7568a84c234 | [log] [tgz] |
---|---|---|
author | Alexander Couzens <lynxis@fe80.eu> | Tue Apr 05 11:27:29 2022 +0200 |
committer | laforge <laforge@osmocom.org> | Wed Mar 22 13:23:02 2023 +0000 |
tree | cedbe60aa93f19deaa88d37ae7ee199aa826e705 | |
parent | b88b1564fc92d93bcebad8d93f0ab319d69916f3 [diff] |
docs: add a simple example to use configuration file Change-Id: I013f03779508bc3ee5bb378c357a5c94b40b74a0
= Osmocom DIAMETER -> GSUP translator =
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.
== Building ==
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
== Testing ==
Unit tests can be run this way: $ rebar3 eunit
== Running ==
Once osmo_dia2gsup is built, you can start it this way:
$ rebar3 shell
In the erlang shell:
1> osmo_dia2gsup:start().
== Configuration ==
$ rebar3 shell --config ./examples/sys.config
1> osmo_dia2gsup:start().