Module: kamailio
Branch: master
Commit: 9fc4028ac35c9612f842a96a719407487e207bcc
URL:
https://github.com/kamailio/kamailio/commit/9fc4028ac35c9612f842a96a7194074…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-04-11T18:06:14+02:00
app_lua: use kamailio embeded interface to export KSR object
- KSR is an hash table exported to Lua to host functions from Kamailio
core and modules
- now dbg(txt), err(txt) and info(txt) were exported
- in a lua script, can be used like:
KSR.info("message from lua\n");
---
Modified: modules/app_lua/app_lua_api.c
Modified: modules/app_lua/app_lua_sr.c
Modified: modules/app_lua/app_lua_sr.h
---
Diff:
https://github.com/kamailio/kamailio/commit/9fc4028ac35c9612f842a96a7194074…
Patch:
https://github.com/kamailio/kamailio/commit/9fc4028ac35c9612f842a96a7194074…