<p>The function is asynchronous, meaning that while waiting for response, other sip packets are handled, current one being suspended. Also, the response comes in other process. If you want to handle the rpc response, then you have to provide the name of the route block where to resume the processing of the suspended request.</p>

<p>In the docs of the function is written:</p>

<pre><code>If no route is specified, then any errors are logged and successes are ignored.
</code></pre>

<p>Therefore it is no bug, but how the function was designed to work.</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/256#issuecomment-123193137">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZeKpA9jPXGkCps_crY3lpwrTEeEeks5ofeYSgaJpZM4Fb6uL.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/256#issuecomment-123193137"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>