<p>But the error in the comment with the example repasted below is not about save anymore -- the example:</p>

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

<p>You try to relay an event on the event_route of opening a new connection to evapi, which is not possible, at that moment you are only in the context of new connection -- accept it or not.</p>

<p>You should do evapi_relay() from another worker process, not from the evapi dispatcher process.</p>

<p>If you still get the error with the save() for registration when receiving the response from evapi app, reopen and paste the relevant error messages and config snippets.</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-230810740">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AF36ZdURXsofP39e4rroTiAQDFIGHi04ks5qS8u2gaJpZM4IeuBh">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZdHxlUxj_mUlsRy5JibZUs75UJl0ks5qS8u2gaJpZM4IeuBh.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-230810740"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>