server_cb: Fix issue with Erlang/OTP 24

Erlang/OTP 24 dropped crypto:hmac, so use crpyto:mac(hmac, ...) instead.

See https://github.com/riverrun/one_time_pass_ecto/issues/9

Change-Id: I7d916eb1f1435b3ac3fc362bb2f4daa7bbb8bb1a
1 file changed
tree: 02bc691a11ef2d57d7c72042d8fa6b7a36fd5e71
  1. contrib/
  2. dia/
  3. src/
  4. .gitignore
  5. .gitreview
  6. README.md
  7. rebar.config
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

In the erlang shell: 1> osmo_dia2gsup:start().