Hello Daniel,
Thanks a lot for you help.
I will start testing it for Dispatcher and Dialog.

Thank you for your great job.
Regards

2017-04-04 16:29 GMT+01:00 Daniel-Constantin Mierla <miconda@gmail.com>:
Hello,

On 01.04.17 15:43, José Seabra wrote:
> Hi all,
>
> I'm starting using kamailio 5 and was trying to convert   my actual
> routing scripts to new KEMI interface using Lua.
> In my old script i'm using  event routes for the evapi, dialog and
> dispatcher modules, so i was wondering how can i use it on KEMI. It
> exports some special Lua function to the KEMI framework? Can anyone
>  give an example please.
each module needs a bit of code to be able to execute an equivalent of
event_route blocks in an embedded interpreter via KEMI. I did it earlier
today for dispatcher and dialog module, next will be evapi as you plan
to use it -- I will let you know when it's ready so you can start
testing. For now you can look at dialog/dispatcher docs, see the
event_callback parameter.

Cheers,
Daniel

--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - May 22-24 (USA) - www.asipto.com
Kamailio World Conference - May 8-10, 2017 - www.kamailioworld.com


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users



--
Cumprimentos
José Seabra