embeddedapi:devel:lua
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
embeddedapi:devel:lua [2014/01/03 15:16] – [sr.xavp.get] linuxmaniac | embeddedapi:devel:lua [2017/06/23 09:31] (current) – sdamm | ||
---|---|---|---|
Line 10: | Line 10: | ||
Module **app_lua** allows execution of Lua scripts from SIP router configuration file, providing access to SIP message which is processed at that time. | Module **app_lua** allows execution of Lua scripts from SIP router configuration file, providing access to SIP message which is processed at that time. | ||
Exported functions by **app_lua** are available in the Lua script as package **sr**. | Exported functions by **app_lua** are available in the Lua script as package **sr**. | ||
+ | |||
+ | This page is a documentation for the 5.0 branch of Kamailio as well, as there won't be any new features added to this way of executing lua code in Kamailio. If in doubt (and all needed modules are available), use the [[https:// | ||
References: | References: | ||
Line 60: | Line 62: | ||
* dbg | * dbg | ||
* info | * info | ||
+ | * notice | ||
* warn | * warn | ||
* err | * err |
embeddedapi/devel/lua.1388762213.txt.gz · Last modified: 2014/01/03 15:16 by linuxmaniac