[SR-Users] app_lua in kamailio
Bret McDanel
trixter at 0xdecafbad.com
Tue May 24 20:45:54 CEST 2011
On Tue, 2011-05-24 at 12:38 +0200, Daniel-Constantin Mierla wrote:
> exit is not a function exported by a module, it is implemented in core.
>
> On the other hand, you try to stop the kamailio cfg interpreter when lua
> interpreter is executing the Lua script, so it won't work
> straightforward. Set a variable in kamailio from Lua, then check it
> after executing the lua script to decide to further exit or not.
How does one set a variable and subsequently access it outside of lua?
I tried what I thought was correct, but absent any documentation I can
find I cant seem to get that to work.
--
Trixter aka Bret McDanel
website: http://www.0xdecafbad.com
pgp key: http://bit.ly/9XYK4b
More information about the sr-users
mailing list