<div dir="ltr"><div class="gmail_extra">Hi, no<br>I wanna include  lua routes part at existing kamailio.cfg file<br><br>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.<br><br>like <br>kamailio.cfg<br>...<br>route {<br>[MY_SUPER_ROUTE_IN_LUA]<br>}<br>...<br><br>Where MY_SUPER_ROUTE_IN_LUA is a route written with kemi on lua language.<br><br><br><div class="gmail_quote">2017-08-02 14:10 GMT+03:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<div><div class="gmail-m_-6876203992600536125h5"><br>
<br>
On 02.08.17 12:02, Yuriy Gorlichenko wrote:<br>
> Hello. I found how to implement lua routimg logic with<br>
> cfgengine but didn't found how to include cimple route in lua at the<br>
> cfg file<br>
><br>
> Presume i have routing logic and want to include<br>
> my_super_custom_route written with Kemo on lua.  How i need to set up<br>
> my config for it work with both engines?<br>
><br>
</div></div>I am not sure I understand what you try to do. The path to yiour Lua<br>
script with routing logic has to be set via modparam of app_lua module.<br>
<br>
Are you trying to include a lua file in another lua file?<br>
<br>
Cheers,<br>
Daniel<br>
<span class="gmail-m_-6876203992600536125HOEnZb"><font color="#888888"><br>
--<br>
Daniel-Constantin Mierla<br>
<a href="http://www.twitter.com/miconda" rel="noreferrer" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" rel="noreferrer" target="_blank">www.linkedin.com/in/miconda</a><br>
Kamailio Advanced Training - <a href="http://www.asipto.com" rel="noreferrer" target="_blank">www.asipto.com</a><br>
Kamailio World Conference - <a href="http://www.kamailioworld.com" rel="noreferrer" target="_blank">www.kamailioworld.com</a><br>
<br>
</font></span></blockquote></div><br></div></div>