[sr-dev] git:master:e5b77a64: tm: fix documentation typos and changed or obsolete paths

Mikko Lehto mslehto at iki.fi
Mon Oct 30 14:47:39 CET 2017


Module: kamailio
Branch: master
Commit: e5b77a64f47dd103eebfe3dfe1208c050dd50a9d
URL: https://github.com/kamailio/kamailio/commit/e5b77a64f47dd103eebfe3dfe1208c050dd50a9d

Author: Mikko Lehto <mslehto at iki.fi>
Committer: Mikko Lehto <mslehto at iki.fi>
Date: 2017-10-30T15:46:04+02:00

tm: fix documentation typos and changed or obsolete paths

---

Modified: src/modules/tm/doc/functions.xml
Modified: src/modules/tm/doc/params.xml
Modified: src/modules/tm/doc/rpc.xml
Modified: src/modules/tm/doc/tm.xml
Modified: src/modules/tm/t_reply.c

---

Diff:  https://github.com/kamailio/kamailio/commit/e5b77a64f47dd103eebfe3dfe1208c050dd50a9d.diff
Patch: https://github.com/kamailio/kamailio/commit/e5b77a64f47dd103eebfe3dfe1208c050dd50a9d.patch

---

diff --git a/src/modules/tm/doc/functions.xml b/src/modules/tm/doc/functions.xml
index 3b20f3dab7..7983de257b 100644
--- a/src/modules/tm/doc/functions.xml
+++ b/src/modules/tm/doc/functions.xml
@@ -163,8 +163,8 @@ failure_route[1] {
 	    </programlisting>
 	</example>
 	<para>
-	    See <filename>test/onr.cfg</filename> for a more complex example of
-	    combination of serial with parallel forking.
+	    See <filename>misc/examples/mixed/onr.cfg</filename> for a more complex
+	    example of combination of serial with parallel forking.
 	</para>
     </section>
      <section id="tm.f.t_on_branch_failure">
@@ -314,7 +314,7 @@ if (t_newtran()) {
 	    </programlisting>
 	</example>
 	<para>
-	    See test/uas.cfg for more examples.
+	    See <filename>misc/examples/mixed/uas.cfg</filename> for more examples.
 	</para>
     </section>
 
diff --git a/src/modules/tm/doc/params.xml b/src/modules/tm/doc/params.xml
index 5e222b8645..fef700464b 100644
--- a/src/modules/tm/doc/params.xml
+++ b/src/modules/tm/doc/params.xml
@@ -1019,7 +1019,7 @@ modparam("tm", "callid_matching", 1)
 	<section id="tm.p.pass_provisional_replies">
 	<title><varname>pass_provisional_replies</varname> (integer)</title>
 	<para>
-		If set, TMCB_LOCAL_REPONSE_OUT tm registered callbacks will be called
+		If set, TMCB_LOCAL_RESPONSE_OUT tm registered callbacks will be called
 		also for provisional replies.
 	</para>
 	<para>
diff --git a/src/modules/tm/doc/rpc.xml b/src/modules/tm/doc/rpc.xml
index efc445cbee..d92bafa4a6 100644
--- a/src/modules/tm/doc/rpc.xml
+++ b/src/modules/tm/doc/rpc.xml
@@ -65,7 +65,7 @@
 		<function moreinfo="none">tm.t_uac_wait</function>
 		</title>
 		<para>
-		Similar to rm.t_uac_start, but waits for the SIP reponse and tries to
+		Similar to tm.t_uac_start, but waits for the SIP response and tries to
 		provide its details via RPC response.
 		</para>
 	</section>
diff --git a/src/modules/tm/doc/tm.xml b/src/modules/tm/doc/tm.xml
index 94eb2e49a3..918cc89f82 100644
--- a/src/modules/tm/doc/tm.xml
+++ b/src/modules/tm/doc/tm.xml
@@ -112,7 +112,7 @@
 	</para>
 	<note>
 		<para>Several Kamailio TM module functions are now
-		implemented in the TMX module: <quote>modules_k/tmx</quote>. Check
+		implemented in the TMX module. Check
 		it to see if what you are looking for is there.</para>
 	</note>
     </section>
diff --git a/src/modules/tm/t_reply.c b/src/modules/tm/t_reply.c
index c26b5eca32..355f4d2e7e 100644
--- a/src/modules/tm/t_reply.c
+++ b/src/modules/tm/t_reply.c
@@ -1115,8 +1115,8 @@ inline static short int get_4xx_prio(unsigned char xx)
 /* returns response priority, lower number => highest prio
  *
  * responses                    priority val
- *  0-99                        32000+reponse         (special)
- *  1xx                         11000+reponse         (special)
+ *  0-99                        32000+response        (special)
+ *  1xx                         11000+response        (special)
  *  700-999                     10000+response        (very low)
  *  5xx                          5000+xx              (low)
  *  4xx                          4000+xx




More information about the sr-dev mailing list