Module: sip-router
Branch: master
Commit: 2a7cfd253b908fee8bb8e898b3c2e6fa11e5965b
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2a7cfd2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Jun 22 11:46:13 2011 +0200
app_lua: removed typo 'i' from start of paragraphs
- reported by Olle Johansson
---
modules/app_lua/README | 18 +++++++++---------
modules/app_lua/doc/app_lua_admin.xml | 4 ++--
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/modules/app_lua/README b/modules/app_lua/README
index d8dd8c7..b4ccaea 100644
--- a/modules/app_lua/README
+++ b/modules/app_lua/README
@@ -10,7 +10,7 @@ Daniel-Constantin Mierla
<miconda(a)gmail.com>
- Copyright © 2010 Daniel-Constantin Mierla (
asipto.com)
+ Copyright � 2010 Daniel-Constantin Mierla (
asipto.com)
__________________________________________________________________
Table of Contents
@@ -116,7 +116,7 @@ Chapter 1. Admin Guide
use lua_run(function, params) to execute a function from the script at
runtime.
- Default value is “null”.
+ Default value is "null".
Example 1.1. Set load parameter
...
@@ -144,7 +144,7 @@ modparam("app_lua", "load",
"/usr/local/etc/kamailio/lua/myscript.lua")
Note that 'sr', 'sr.hdr' and 'sr.pv' modules are always
registered to
Lua.
- Default value is “null”.
+ Default value is "null".
Example 1.2. Set register parameter
...
@@ -158,7 +158,7 @@ modparam("app_lua", "register", "sl")
4.3. lua_run(function, params)
4.4. lua_runstring(script)
-4.1. lua_dofile(path)
+4.1. lua_dofile(path)
Execute the Lua script stored in 'path'. The parameter can be a string
with pseudo-variables evaluated at runtime.
@@ -168,9 +168,9 @@ modparam("app_lua", "register", "sl")
lua_dofile("/usr/local/etc/kamailio/lua/myscript.lua");
...
-4.2. lua_dostring(script)
+4.2. lua_dostring(script)
- i Execute the Lua script stored in parameter. The parameter can be a
+ Execute the Lua script stored in parameter. The parameter can be a
string with pseudo-variables.
Example 1.4. lua_dostring usage
@@ -181,7 +181,7 @@ if(!lua_dostring("sr.log([[err]], [[----------- Hello World from
$fU\n]])"))
}
...
-4.3. lua_run(function, params)
+4.3. lua_run(function, params)
Execute the Lua function 'func' giving params as parameters. There can
be up to 3 string parameters. The function must exist in the script
@@ -198,9 +198,9 @@ if(!lua_run("sr_append_fu_to_reply"))
lua_run("lua_funcx", "$rU", "2");
...
-4.4. lua_runstring(script)
+4.4. lua_runstring(script)
- i Execute the Lua script stored in parameter. The parameter can be a
+ Execute the Lua script stored in parameter. The parameter can be a
string with pseudo-variables. The script is executed in Lua context
specific to loaded Lua files at startup.
diff --git a/modules/app_lua/doc/app_lua_admin.xml
b/modules/app_lua/doc/app_lua_admin.xml
index ae77ee7..cb97e5d 100644
--- a/modules/app_lua/doc/app_lua_admin.xml
+++ b/modules/app_lua/doc/app_lua_admin.xml
@@ -215,7 +215,7 @@ lua_dofile("/usr/local/etc/kamailio/lua/myscript.lua");
<title>
<function moreinfo="none">lua_dostring(script)</function>
</title>
- <para>i
+ <para>
Execute the Lua script stored in parameter. The parameter can be
a string with pseudo-variables.
</para>
@@ -261,7 +261,7 @@ lua_run("lua_funcx", "$rU", "2");
<title>
<function moreinfo="none">lua_runstring(script)</function>
</title>
- <para>i
+ <para>
Execute the Lua script stored in parameter. The parameter can be
a string with pseudo-variables. The script is executed in Lua context
specific to loaded Lua files at startup.