6
0
Fork
You've already forked osmo_dia2gsup
1
mirror of https://gerrit.osmocom.org/erlang/osmo_dia2gsup synced 2025年04月10日 11:13:44 +00:00
DIAMETER-to-GSUP inter-working function (IWF)
Erlang 95.5%
Makefile 2.9%
Shell 1.6%
Find a file
Exact
Oliver Smith a87909e8e5 Bump version: 0.3.2
Change-Id: I8d3a546b755db92834b64f3451d166b0a97331bc
2025年04月01日 17:22:15 +02:00
contrib osmo_dia2gsup.service: use /etc/osmocom/osmo-dia2gsup.config 2024年08月02日 17:57:05 +07:00
debian Bump version: 0.3.2 2025年04月01日 17:22:15 +02:00
dia replace http:// urls with https:// (diameter files) 2024年06月05日 16:45:09 +02:00
examples examples/*.config: change diameter_ip to 127.0.0.8 2025年03月27日 09:50:07 +01:00
src gsup_client: disable gen_server event tracing 2025年04月01日 00:05:47 +07: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
COPYING COPYING and copyright headers: use https instead of http 2024年06月05日 15:41:10 +02:00
Makefile examples: add dev.config, let 'make run' use it by default 2024年08月02日 18:09:39 +07:00
README.md rebar3: define a release 2023年11月10日 13:19:20 +01:00
rebar.config rebar3: define a release 2023年11月10日 13:19:20 +01:00
rebar.lock rebar3.lock: Update epcap dep to v1.1.1 to fix compilation error 2023年08月23日 16:48:50 +02: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

Once osmo_dia2gsup is built, you can start it this way:

$ rebar3 shell

Passing a config file:

$ rebar3 shell --config ./examples/sys.config

Running it as an escript:

$ rebar3 escriptize
$ ERL_FLAGS='-config ./examples/sys.config' _build/default/bin/osmo-dia2gsup

Build a new release

rebar3 release