[sr-dev] git:master: tm: fixed typo in docs

Daniel-Constantin Mierla miconda at gmail.com
Wed Oct 20 12:55:45 CEST 2010


Module: sip-router
Branch: master
Commit: 97d4e101219dbb035f2a734a2a1ddea119782f55
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=97d4e101219dbb035f2a734a2a1ddea119782f55

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Wed Oct 20 12:54:40 2010 +0200

tm: fixed typo in docs

- some ingeter parameters related to control of reason header for local
  cancel were provided as string values instead of integer
- reported by Mikko Lehto

---

 modules/tm/README         |   10 +++++-----
 modules/tm/doc/params.xml |    4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/tm/README b/modules/tm/README
index 318c3bf..4e535bc 100644
--- a/modules/tm/README
+++ b/modules/tm/README
@@ -8,9 +8,9 @@ Juha Heinanen
 
    <jh at tutpro.com>
 
-   Copyright © 2003 FhG FOKUS
+   Copyright © 2003 FhG FOKUS
 
-   Copyright © 2008 Juha Heinanen
+   Copyright © 2008 Juha Heinanen
    Revision History
    Revision $Revision$ $Date$
      __________________________________________________________________
@@ -177,7 +177,7 @@ Juha Heinanen
 Note
 
    Several Kamailio (OpenSER) TM module functionalities are now
-   implemented in the TMX module: "modules_k/tmx". Check it to see if what
+   implemented in the TMX module: “modules_k/tmx”. Check it to see if what
    you are looking for is there.
 
 1.2. Serial Forking Based on Q Value
@@ -1149,7 +1149,7 @@ modparam("tm", "failure_reply_mode", 3)
 
    Example 38. Set local_cancel_reason parameter
 ...
-modparam("tm", "local_cancel_reason", "0")
+modparam("tm", "local_cancel_reason", 0)
 ...
 
 1.4.39. e2e_cancel_reason (boolean)
@@ -1167,7 +1167,7 @@ modparam("tm", "local_cancel_reason", "0")
 
    Example 39. Set e2e_cancel_reason parameter
 ...
-modparam("tm", "e2e_cancel_reason", "0")
+modparam("tm", "e2e_cancel_reason", 0)
 ...
 
 1.5. Functions
diff --git a/modules/tm/doc/params.xml b/modules/tm/doc/params.xml
index 2bd0724..f881af5 100644
--- a/modules/tm/doc/params.xml
+++ b/modules/tm/doc/params.xml
@@ -1198,7 +1198,7 @@ modparam("tm", "failure_reply_mode", 3)
 			<title>Set <varname>local_cancel_reason</varname> parameter</title>
 			<programlisting>
 ...
-modparam("tm", "local_cancel_reason", "0")
+modparam("tm", "local_cancel_reason", 0)
 ...
 			</programlisting>
 		</example>
@@ -1230,7 +1230,7 @@ modparam("tm", "local_cancel_reason", "0")
 			<title>Set <varname>e2e_cancel_reason</varname> parameter</title>
 			<programlisting>
 ...
-modparam("tm", "e2e_cancel_reason", "0")
+modparam("tm", "e2e_cancel_reason", 0)
 ...
 			</programlisting>
 		</example>




More information about the sr-dev mailing list