User Tools

Site Tools


embeddedapi:devel:lua

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
embeddedapi:devel:lua [2017/06/23 11:08]
sdamm
embeddedapi:devel:lua [2017/06/23 11: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://www.kamailio.org/wiki/devel/config-engines|KEMI way]] for your lua application.
  
 References: References:
embeddedapi/devel/lua.txt ยท Last modified: 2017/06/23 11:31 by sdamm