1
0
Fork 0
DIAMETER-to-GSUP inter-working function (IWF)
Go to file
Oliver Smith 83e2af672c Update README.md 2023-08-24 15:09:15 +00:00
contrib systemd: depend on networking-online.target 2023-05-26 14:10:44 +02:00
debian debian: set compat level to 10 2023-04-25 16:48:34 +02:00
dia WIP 2019-08-14 13:28:08 +02:00
examples docs: add a simple example to use configuration file 2023-03-22 13:23:02 +00:00
src Use GSUP APN as Service-Selection field 2023-06-11 19:27:57 +00:00
.gitignore add rebar.lock to define known working dependencies 2022-07-20 19:51:00 +00:00
.gitreview add .gitreview configuration 2021-12-30 20:47:24 +01:00
README.md Update README.md 2023-08-24 15:09:15 +00:00
rebar.config rebar.config: Switch from git://git.osmocom.org to https://gitea 2022-07-12 17:42:55 +02:00
rebar.lock rebar3.lock: Update epcap dep to v1.1.1 to fix compilation error 2023-08-23 16:48:50 +02:00

README.md

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
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