thx. I just thought that it's possibe to concatenate both engines together.
So this is my last question regardng kemi:
Main goal why i still not use kemi at the my projects is a:
TBD: the options for specific event_route blocks. Meanwhile, should work using hybrid configuration with request_route/reply_route/… in embedded interpreter and the other routing blocks in native kamailio.cfg.
As i uderstand it is not possible to use event_route in a kemi. only native. If yes - do you expect t ointegrate this part of routes at the kemi interface in future?
2017-08-02 14:36 GMT+03:00 Daniel-Constantin Mierla miconda@gmail.com:
Hello,
where is that TBD note? It needs to be adjusted, probably it is a leftover from first days of this feature.
The failure_route, branch_route and onreply_route can be now natively in the embedded language, see the Lua script example I provide with the link in my previous email.
If you are using event_route blocks, let me know which and I can say if they are available -- many of them are, but some are missing, as I am not using all the modules available and didn't have the time to dig in all of them.
Cheers, Daniel
On 02.08.17 13:42, Yuriy Gorlichenko wrote:
Thank you for your response! Probably it was at 5.0.x kemi guide. But anyway Domt uderstand how to call it.
I need tm:local reqest, Websockets event_route and dialog. Thats it)
On Aug 3, 2017 08:15, "Daniel-Constantin Mierla" miconda@gmail.com wrote:
v5.0 doesn't have many of the event route available for kemi.
If you use master branch (upcoming 5.1), modules having event routes export a parameter 'event_callback' which needs to be set to a name of a function inside the embedded language script, see the one for tm at:
- https://kamailio.org/docs/modules/devel/modules/tm.html#tm.p.event_callback
The dialog module should have same mod param.
For websocket, do you need the one for xhttp module? If yes, it's available.
The event_route[websocket:closed] is not available, as I can see in the code, but I will add it.
Cheers, Daniel
On 03.08.17 08:38, Yuriy Gorlichenko wrote: