Hi Daniel,
sorry for not being clear.
I have all three evapi event routes in my config. When I telnet to port 8448, xlog shows that evapi:connection-new is exectued. When I send 6:efelin, to telnet, the evapi:message-received is executed. When I close the telnet session, the evapi:connection-closed is executed. This works just fine. However, when I execute evapi_async_relay or evapi_relay nothing is sent to my telnet session or CGRateS application (This was also observed by ngrep and tcpdump).
My configuration is default from CGRateS: https://github.com/cgrates/cgrates/tree/master/data/tutorials/kamevapi/kamai... (kamailio.cfg and included kamailio-cgrates.cfg) with few xlogs for further debuging +
modparam("evapi", "workers", 2) modparam("evapi", "bind_addr", "0.0.0.0:8448")
I have just downloaded the fresh config in order to evade some typo, but the problem persists.
Thanks
Jan
2016-08-22 9:35 GMT+02:00 Daniel-Constantin Mierla miconda@gmail.com:
On 22/08/16 09:31, Efelin Novak wrote:
[...]
When I connect to evapi using telnet, I receive NO answer:
root@PC:~$ telnet 192.168.30.29 8448 Trying 192.168.30.29... Connected to 192.168.30.29. Escape character is '^]'.
However it reacts on my netstring messages and executes the event_route[evapi:message-received].
To clarify -- do you have event_route[evapi:connection-new] {...} block defined in your config and it is not executed?
Cheers, Daniel
-- Daniel-Constantin Mierlahttp://www.asipto.com - http://www.kamailio.orghttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda