Prechádzať zdrojové kódy

tm: fix documentation typos and changed or obsolete paths

Mikko Lehto 7 rokov pred
rodič
commit
e5b77a64f4

+ 3 - 3
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>
 

+ 1 - 1
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>

+ 1 - 1
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>

+ 1 - 1
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>

+ 2 - 2
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