<p>I think it is a relative point of view to be considered.</p>

<p>kamcmd itself didn't fail, because it is a tool to take the command line parameters and send a command to kamailio. Then it prints the output from kamailio. In that respect, kamcmd was successful.</p>

<p>I just tested with <strong>curl</strong> tool and if I request a page that doesn't exits on a web site, its return code is also 0.</p>

<p>Making kamcmd aware of the meaning of the response from kamailio might add complexity and duplicate lot of context, which can become hard to maintain.</p>

<p>I let the discussion here open for other opinions, to see what would be preferred to be done. I consider to be normal behaviour right now.</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/211#issuecomment-112401755">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZRWPmTW3Zj9rbgWFdQ072AOAd7moks5oUAgUgaJpZM4FETIO.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/211#issuecomment-112401755"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>