Re: [SR-Users] kemi lua routing block as route in standart cfg

2017-08-02 Thread Daniel-Constantin Mierla
Hello, if you want to do routing in lua via kemi, the kamailio.cfg has only the passive part (global parameters, loading modules and modparams) and the active part (routing blocks) is a separate file written in the desired scripting language (e.g., lua). See examples: - https://github.com/kamai

Re: [SR-Users] kemi lua routing block as route in standart cfg

2017-08-02 Thread Yuriy Gorlichenko
Hi, no I wanna include lua routes part at existing kamailio.cfg file Just wanna rewrite some route with lua code using kemi because lua more flexible for my needs, but want to call this route at the cfg file. like kamailio.cfg ... route { [MY_SUPER_ROUTE_IN_LUA] } ... Where MY_SUPER_ROUTE_IN_LU

Re: [SR-Users] kemi lua routing block as route in standart cfg

2017-08-02 Thread Daniel-Constantin Mierla
Hello, On 02.08.17 12:02, Yuriy Gorlichenko wrote: > Hello. I found how to implement lua routimg logic with > cfgengine but didn't found how to include cimple route in lua at the > cfg file > > Presume i have routing logic and want to include > my_super_custom_route written with Kemo on lua. Ho

[SR-Users] kemi lua routing block as route in standart cfg

2017-08-02 Thread Yuriy Gorlichenko
Hello. I found how to implement lua routimg logic with cfgengine but didn't found how to include cimple route in lua at the cfg file Presume i have routing logic and want to include my_super_custom_route written with Kemo on lua. How i need to set up my config for it work with both engines? _