[sr-dev] [kamailio/kamailio] [Branch 4.4] Cannot save location after resuming a transaction that has been paused by avapi_async_relay (#622)

Daniel-Constantin Mierla notifications at github.com
Wed Jul 6 17:37:26 CEST 2016


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

```
event_route[evapi:connection-new] {
    xlog("new connection from $evapi(srcaddr):$evapi(srcport)\n");
    evapi_relay("abcd");
}
```

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.

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

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.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/622#issuecomment-230810740
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160706/39d6b04e/attachment.html>


More information about the sr-dev mailing list