<p>This might be kamcmd not handling arrays in response. Arrays were added quite recently and somehow mapped over structure for kamcmd.</p>

<p>Can you give it a try with xmlrpc or jsonrpc to see if the result there is ok? Perhaps you can emulate it with curl command if you don't have another client.</p>

<p>For example:</p>

<pre><code>curl -X GET -H "Content-Type: application/json" -d '{"jsonrpc": "2.0", "method": "dlg.list", "id": 1}' http://youreserverip:5060/RPC
</code></pre>

<p>See the readme of jsonrpc-s module for more docs on configuring it.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/145#issuecomment-99223144">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZTgAoMsN3G8RI858ZY_9eyx78RKlks5oGSnhgaJpZM4ELwmI.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
  <div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
    <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/145#issuecomment-99223144"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>