[SR-Users] KEMI and Native mixing
Yuriy Gorlichenko
ovoshlook at gmail.com
Thu Oct 22 17:53:43 CEST 2020
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 at 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 at lists.kamailio.org> *On Behalf Of *Marcin
> Kowalczyk
> *Sent:* Wednesday, October 21, 2020 7:25 PM
> *To:* sr-users at 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 at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20201022/06a3f77a/attachment.htm>
More information about the sr-users
mailing list