<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi there,<br>
</p>
<p><br>
</p>
<p>We are trying to build a simple diameter relay agent for our company which will connect diameter clients to a number of different billing diameter servers. Right now we are just testing the system with one client and one server.<br>
</p>
<p><br>
</p>
<p>Unfortunately, we are unable to get even the relay example from ericsson repository working.<br>
</p>
<p><br>
</p>
<p><a href="https://github.com/erlang/otp/tree/master/lib/diameter/examples/code">https://github.com/erlang/otp/tree/master/lib/diameter/examples/code</a><br>
</p>
<p><br>
</p>
<p>We modified slightly the example to connect to our diameter server on a remote address and listen to the local port TCP/3868. The relay agent connects successfully to our diameter server, performing a full CER/CEA exchange and subsequent DWR/DWA. Our client
 successfully connects to the relay agent through CER/CEA, but when the client sends a Credit Control Request (AVP Request-Type:4, Requested_Action: 2, Command-Code: 272), we get 3001 DIAMETER_COMMAND_UNSUPPORTED consistently, every single time. Peer_up callback
 is called, but no handle_request or pick_peer callback is called. When we try to use the same client with the server directly, everything works fine and we get 2001 SUCCESS.<br>
</p>
<p><br>
</p>
<p>We are sure we are missing something, maybe a parameter in the transport options, a callback that we need to implement or something like that.<br>
</p>
<p><br>
</p>
<p>Could you give us a hint?<br>
</p>
<p><br>
</p>
<p>Thanks in advance,<br>
</p>
<p>Asier<br>
</p>
<hr align="center" width="500" size="1" color="gray">
<style>
   P {
    line-height: 0.9em;
   }
  </style>
<p><font size="1" color="gray" face="Calibri">Информация в этом сообщении предназначена исключительно для конкретных лиц, которым она адресована. В сообщении может содержаться конфиденциальная информация, которая не может быть раскрыта или использована кем-либо
 кроме адресатов. Если вы не адресат этого сообщения, то использование, переадресация, копирование или распространение содержания сообщения или его части - незаконно и запрещено. Если Вы получили это сообщение ошибочно, пожалуйста, незамедлительно сообщите
 отправителю об этом и удалите со всем содержимым само сообщение и любые возможные его копии и приложения.
<br>
<br>
The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. The contents may not be disclosed
 or used by anyone other than the addressee. If you are not the intended recipient(s), any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it is prohibited and may be unlawful. If you have received this communication
 in error please notify us immediately by responding to this email and then delete the e-mail and all attachments and any copies thereof.
</p>
</font>
</body>
</html>