Browse code

misc/examples: note that sr is exported by app_lua_sr

- hint for lua syntax check

Daniel-Constantin Mierla authored on 20/11/2020 07:02:37
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 -- Kamailio - equivalent of routing blocks in Lua
2 2
 --
3
+-- KSR - the object exporting Kamailio KEMI functions (app_lua module)
4
+-- sr - the old object exporting Kamailio functions (app_lua_sr module)
3 5
 --
4 6
 
5 7
 -- Relevant remarks:
... ...
@@ -11,6 +11,9 @@
11 11
 --  * KSR.drop() is only marking the SIP message for drop, but doesn't stop
12 12
 --  the execution of the script. Use KSR.x.exit() after it or KSR.x.drop()
13 13
 --
14
+-- Hints:
15
+--  * Lua syntax check: luac -p /path/to/script.lua
16
+--
14 17
 
15 18
 -- debug callback function to print details of execution trace
16 19
 --[[