<p>I get this log from the event_route[evapi:connection-new] route block bellow:</p>

<blockquote>
<p>Jun 10 00:30:57 opensips /home/neotiq/flexproxy/sbin/kamailio[14776]: ERROR: <code><script></code>: new connection from 127.0.0.1:36993<br>
Jun 10 00:30:57 opensips /home/neotiq/flexproxy/sbin/kamailio[14776]: ERROR: evapi [evapi_dispatch.c:694]:  _evapi_relay(): <em>failed to pass the pointer to evapi dispatcher</em><br>
Jun 10 00:30:57 opensips /home/neotiq/flexproxy/sbin/kamailio[14776]: ERROR: evapi [evapi_mod.c:252]: w_evapi_relay(): failed to relay event: abcd</p>
</blockquote>

<p>The event route block:</p>

<pre><code>event_route[evapi:connection-new] {
    xlog("new connection from $evapi(srcaddr):$evapi(srcport)\n");
    evapi_relay("abcd");
}
</code></pre>

<p>Other calls to evapi_async_relay doesn't log any error but other side received nothing:<br>
<a href="http://pastebin.com/raw/8AcJA2u1">http://pastebin.com/raw/8AcJA2u1</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/622#issuecomment-225051022">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AF36ZZWvUenWM4qc7ezYf9XIxi8hLkCoks5qKJobgaJpZM4IeuBh">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZW0HPudR6fbvRPothZQh7-FpgBd2ks5qKJobgaJpZM4IeuBh.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/622#issuecomment-225051022"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>