commit | 53f7125cfc7c2ddc9e7e2bdedceeba3a32eb84d3 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Aug 30 16:33:55 2023 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Wed Aug 30 20:50:40 2023 +0200 |
tree | 95e23ad22b55fc02ef1fd50d0d843ccb13d80691 | |
parent | 5e11d28cd6d767abb1dee2e221d0fe2b5c70880a [diff] |
Translate GSUP Auth Info Answer error Cause in Diamater AIA Change-Id: I32622713c2c1f40e1d9c5597ffab8cb211171fc2
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