Add GMM error cause present in osmo-hlr's gsm48_gmm_cause_vty_names

Change-Id: I77336cb2c76a516ecea5b46500da91fd4230176d
1 file changed
tree: 742a268d3ee8123705d87e3117c5f983807913a6
  1. contrib/
  2. debian/
  3. dia/
  4. examples/
  5. src/
  6. .gitignore
  7. .gitreview
  8. README.md
  9. rebar.config
  10. rebar.lock
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