[sr-dev] [kamailio/kamailio] app_lua: add functions for handling script flags (#666)
Daniel-Constantin Mierla
notifications at github.com
Fri Jun 10 10:38:47 CEST 2016
These functions should be available already in master branch, but exported by the KSR module, not the old sr module:
* https://github.com/kamailio/kamailio/blob/master/kemi.c#L484-L497
In lua script you have to use something like:
```
KSR.setflag(10);
```
The KSR is exported as part of the new KEMI, but can be used even if you don't write full routing blocks in Lua:
* https://www.kamailio.org/wiki/devel/config-engines#lua_config_kemi_engine
* https://github.com/kamailio/kamailio/blob/master/examples/kemi/kamailio-basic-kemi-lua.lua
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/666#issuecomment-225124843
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160610/7147e01d/attachment.html>
More information about the sr-dev
mailing list