-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[diameter] add a few dictionaries #9
Conversation
Hi @sebastiw, defp init_diameter() do
svc_opts = [
{:"Origin-Host", "client.example.com"},
{:"Origin-Realm", "example.com"},
{:"Origin-State-Id", :diameter.origin_state_id()},
{:"Vendor-Id", 0},
{:"Product-Name", "Test diameter client"},
{:"Auth-Application-Id", [4]},
{:restrict_connections, false},
{:strict_mbit, false},
{:decode_format, :map},
{:string_decode, false},
{:application,
[
{:alias, :common},
{:dictionary, @which_path?},
{:module, Ocs.DiaCallback},
{:call_mutates_state, false},
{:answer_errors, :callback}
]}
]
:ok = :diameter.start_service(@svc_name, svc_opts)
transport_opts = [
{:transport_module, :diameter_sctp},
{:transport_config, [{:reuseaddr, true}, {:raddr, {127, 0, 0, 1}}, {:rport, 3868}]}
]
{:ok, _} = :diameter.add_transport(@svc_name, {:connect, transport_opts})
end |
So when the dictionaries have been compiled (e.g. by I can take a better look later today |
Thank you! I added otc to the dependencies. However, when I ran mix deps.get, I received the following messages:
|
Hi @sebastiw, |
Could you open a issue on these topics please, so we can track it better. I think there is/was a env variable you can set to make dictionaries compile, and those outputs are based on that (but maybe I removed the rebar.config.script) I also forgot about this pr adding prefixes for the dicts to not have cyclic dependencies |
Tiny PR to add dictionaries from 3GPP.
It took a couple of weeks but now most 3GPP interfaces are added along with IETF/ETSI/ITU-T definitions 🥳 🍾
came about a bug in diameter type checker at the same time
erlang/otp#6789