Module: sip-router
Branch: master
Commit: f71d76c0f39f2c6b0e070e1246f371f17b45b2dd
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f71d76c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Sep 28 14:38:42 2012 +0200
app_mono: fixed c&p typo names in examples
---
modules/app_mono/README | 16 ++++++++--------
modules/app_mono/doc/app_mono_admin.xml | 4 ++--
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/modules/app_mono/README b/modules/app_mono/README
index cdee991..a2ca72c 100644
--- a/modules/app_mono/README
+++ b/modules/app_mono/README
@@ -16,7 +16,7 @@ Alex Balashov
<abalashov(a)evaristesys.com>
- Copyright © 2012 Daniel-Constantin Mierla (
asipto.com)
+ Copyright � 2012 Daniel-Constantin Mierla (
asipto.com)
__________________________________________________________________
Table of Contents
@@ -43,8 +43,8 @@ Alex Balashov
List of Examples
1.1. Set load parameter
- 1.2. lua_dofile usage
- 1.3. lua_run usage
+ 1.2. mono_exec usage
+ 1.3. mono_run usage
Chapter 1. Admin Guide
@@ -113,7 +113,7 @@ Chapter 1. Admin Guide
Set the path to the Mono assembly to be loaded at startup. You can use
mono_run(param) to execute the assembly at runtime.
- Default value is “null”.
+ Default value is "null".
Example 1.1. Set load parameter
...
@@ -125,7 +125,7 @@ modparam("app_mono", "load",
"/usr/local/etc/kamailio/mono/myscript.exe")
4.1. mono_exec(path [, param])
4.2. mono_run([param])
-4.1. mono_exec(path [, param])
+4.1. mono_exec(path [, param])
Execute the managed code assembly stored in 'path'. The path can be a
string with pseudo-variables evaluated at runtime. A second parameter
@@ -135,12 +135,12 @@ modparam("app_mono", "load",
"/usr/local/etc/kamailio/mono/myscript.exe")
change to it is immediately live. This function cannot be used if
'load' parameter is set.
- Example 1.2. lua_dofile usage
+ Example 1.2. mono_exec usage
...
mono_exec("/usr/local/etc/kamailio/mono/myscript.exe");
...
-4.2. mono_run([param])
+4.2. mono_run([param])
Execute the assembly specified by 'load' module parameter. The assembly
is loaded at startup, so changes to it will be effective only after
@@ -150,7 +150,7 @@ mono_exec("/usr/local/etc/kamailio/mono/myscript.exe");
assembly. It can be a string with pseudo-variables; these will be
evaluated at runtime.
- Example 1.3. lua_run usage
+ Example 1.3. mono_run usage
...
if(!mono_run("myparam"))
{
diff --git a/modules/app_mono/doc/app_mono_admin.xml
b/modules/app_mono/doc/app_mono_admin.xml
index 5cadea7..01f0b6c 100644
--- a/modules/app_mono/doc/app_mono_admin.xml
+++ b/modules/app_mono/doc/app_mono_admin.xml
@@ -111,7 +111,7 @@ modparam("app_mono", "load",
"/usr/local/etc/kamailio/mono/myscript.exe")
parameter is set.
</para>
<example>
- <title><function>lua_dofile</function> usage</title>
+ <title><function>mono_exec</function> usage</title>
<programlisting format="linespecific">
...
mono_exec("/usr/local/etc/kamailio/mono/myscript.exe");
@@ -135,7 +135,7 @@ mono_exec("/usr/local/etc/kamailio/mono/myscript.exe");
evaluated at runtime.
</para>
<example>
- <title><function>lua_run</function> usage</title>
+ <title><function>mono_run</function> usage</title>
<programlisting format="linespecific">
...
if(!mono_run("myparam"))