[erlang-questions] diameter_make compilation issues for 3GPP Diameter Commands

austin aigbe <>
Sun Jul 9 08:41:03 CEST 2017


Hello,

It seems the Erlang Diameter dictionary compiler (diameter_make) is not
compatible with the 3GPP Diameter commands.

When I try compiling the attached .dia file, for Cx (3GPP TS 29.299
v12.7.0), I get the following error:

10> diameter_make:codec("cx_ts29229_v1270.dia",[hrl]).
{error,{invalid_avp_order,[123,"Destination-Realm",125,95]}}

-------------------------
@messages

  UAR ::= < Diameter Header: 300, REQ, PXY >
  < Session-Id >
  { Vendor-Specific-Application-Id }
  { Auth-Session-State }
  { Origin-Host }
  { Origin-Realm }
  [ Destination-Host ]
 * { Destination-Realm }*
  { User-Name }
----------------------------

Or am I doing something wrong? Kindly advise.

Erlang version:

Erlang/OTP 20 [erts-9.0] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:10]

Eshell V9.0  (abort with ^G)

Thanks.

Regards,
Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170709/8c363d3a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cx_ts29229_v1270.dia
Type: application/octet-stream
Size: 9184 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170709/8c363d3a/attachment.obj>


More information about the erlang-questions mailing list