It is not a big deal to use it with lua_run(). It will work without any double_trouble in general I do it a lot in many projects which are still in native lang but already need some extensions I would recommend you to test your Lua before set into production. Here is a test suite which can help you to protect yourself from some mistakes https://github.com/ovoshlook/kemi-lua-test-suite
ср, 21 окт. 2020 г. в 20:18, Henning Westerholt hw@skalatan.de:
Hello,
other people might be able to add more, but what you can certainly can do is to have a usual kamailio.cfg and then use e.g. lua_run(..) to execute some functions defined in the loaded lua script.
In my opinion you will add some more complexity if you start to mix also the routes, but it might be fine for a certain migration period.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com
*From:* sr-users sr-users-bounces@lists.kamailio.org *On Behalf Of *Marcin Kowalczyk *Sent:* Wednesday, October 21, 2020 7:25 PM *To:* sr-users@lists.kamailio.org *Subject:* [SR-Users] KEMI and Native mixing
Hi,
Is it possible to mix both KEMI (lua) and Native configs in one kamailio instance? So some blocks are called from native script and some others from KEMI (lua)?
Marcin _______________________________________________ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users