2022-02-18 11:41:21 +00:00
|
|
|
= 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 ==
|
|
|
|
|
2022-04-05 09:27:29 +00:00
|
|
|
Once osmo\_dia2gsup is built, you can start it this way:
|
2022-02-18 11:41:21 +00:00
|
|
|
|
|
|
|
$ rebar3 shell
|
|
|
|
|
|
|
|
In the erlang shell:
|
2022-04-05 09:27:29 +00:00
|
|
|
```
|
2022-02-18 11:41:21 +00:00
|
|
|
1> osmo_dia2gsup:start().
|
2022-04-05 09:27:29 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
== Configuration ==
|
|
|
|
|
|
|
|
$ rebar3 shell --config ./examples/sys.config
|
|
|
|
```
|
|
|
|
1> osmo_dia2gsup:start().
|
|
|
|
```
|
|
|
|
|