Module: kamailio
Branch: master
Commit: 7788aa4b396b27fe86bd535a0ded024531c5e75a
URL:
https://github.com/kamailio/kamailio/commit/7788aa4b396b27fe86bd535a0ded024…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-08-14T10:42:44+02:00
app_lua: docs - more examples for lua_run()
---
Modified: src/modules/app_lua/doc/app_lua_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/7788aa4b396b27fe86bd535a0ded024…
Patch:
https://github.com/kamailio/kamailio/commit/7788aa4b396b27fe86bd535a0ded024…
---
diff --git a/src/modules/app_lua/doc/app_lua_admin.xml
b/src/modules/app_lua/doc/app_lua_admin.xml
index 74ea68e460..ab8601bcc0 100644
--- a/src/modules/app_lua/doc/app_lua_admin.xml
+++ b/src/modules/app_lua/doc/app_lua_admin.xml
@@ -351,10 +351,10 @@ if(!lua_run("sr_append_fu_to_reply")) {
xdbg("SCRIPT: failed to execute lua function!\n");
}
...
-lua_run("lua_funcx0");
-lua_run("lua_funcx1", "$rU");
-lua_run("lua_funcx2", "$rU", "2");
-lua_run("lua_funcx3", "$rU", "2", "$si");
+lua_run("lua_func0");
+lua_run("lua_func1", "$rU");
+lua_run("lua_func2", "$rU", "2");
+lua_run("lua_func3", "$rU", "2", "$si");
...
</programlisting>
</example>