Parcourir la source

tm: Fix typos in module documentation

Florian Floimair il y a 7 ans
Parent
commit
52708b7fd7
3 fichiers modifiés avec 10 ajouts et 10 suppressions
  1. 2 2
      src/modules/tm/doc/api.xml
  2. 7 7
      src/modules/tm/doc/functions.xml
  3. 1 1
      src/modules/tm/doc/params.xml

+ 2 - 2
src/modules/tm/doc/api.xml

@@ -243,8 +243,8 @@ end of body
 		This function is for revoking t_suspend() from the
 		same process as it was executed before. t_cancel_suspend() can be
 		used when something fails after t_suspend() has already been executed
-		and it turns out that the transcation should not have been
-		suspended. The function cancels the FR timer of the transacation.
+		and it turns out that the transaction should not have been
+		suspended. The function cancels the FR timer of the transaction.
 	    </para>
 	    <para>
 		The message lumps are saved by t_suspend() which cannot be restored.

+ 7 - 7
src/modules/tm/doc/functions.xml

@@ -19,7 +19,7 @@
 		used is the same protocol on which the message was received.
 	</para>
 	<para>
-		<function>t_relay()</function> is the statefull version for 
+		<function>t_relay()</function> is the stateful version for 
 		<function>forward()</function>
 		while <function>t_relay(host, port)</function> is similar to 
 		<function>forward(host, port)</function>.
@@ -75,7 +75,7 @@ if (!t_relay())
 	    </listitem>
 	</itemizedlist>
 	<para>If no parameters are specified the message is sent to a destination
-	 derived from the message uri (using sip sepcific DNS lookups), but with 
+	 derived from the message uri (using sip specific DNS lookups), but with 
 	 the protocol corresponding to the function name.</para>
 	<example>
 	    <title><function>t_relay_to_udp</function> usage</title>
@@ -1144,7 +1144,7 @@ failure_route[1] {
 		</para>
 		<para>
 		  The q parameter of a branch contains a value from range 0-1.0
-		  and it  expresses relative preferrence of the branch
+		  and it  expresses relative preference of the branch
 		  among all branches in the destination set.
 		  The higher the q value the more preference the
 		  user agent gave to the branch. Branches with higher q
@@ -1312,7 +1312,7 @@ event_route[tm:branch-failure:outbound]
 		<function moreinfo="none">t_check_status(re)</function>
 		</title>
 		<para>
-		Returns true if the regular expresion <quote>re</quote> match the
+		Returns true if the regular expression <quote>re</quote> match the
 		reply code of the response message as follows:
 		<itemizedlist>
 		<listitem>
@@ -1386,7 +1386,7 @@ if (t_check_status("(487)|(408)")) {
 				transaction wait time elapses, when the INVITE transaction no
 				longer exists and thus would not match anything. There are
 				also cases when tm would not keep all the information needed
-				for e2e ACK matching (since this is not needed for a statefull
+				for e2e ACK matching (since this is not needed for a stateful
 				proxy and it requires additional memory, tm will not keep this
 				information unless needed by some other module or callbacks).
 				</para>
@@ -1432,7 +1432,7 @@ if ( method == "CANCEL" &amp;&amp; !t_check_trans())
 		<function>t_set_disable_6xx(0|1)</function>
 	</title>
 	<para>
-		Turn off/on 6xx replies special rfc conformant handling on a per
+		Turn off/on 6xx replies special rfc conforming handling on a per
 		transaction basis. If turned off
 		(<function>t_set_disable_6xx("1")</function>) 6XXs will be treated
 		like normal replies.
@@ -1611,7 +1611,7 @@ t_replicate_to_udp("1.2.3.4", "5060");
 	    <listitem>
 		<para><emphasis>proxy</emphasis> - address where the request should
 		be sent. Format is: "proto:host:port" - any of proto or port can be
-		ommitted, along with the semicolon after or before.
+		omitted, along with the semicolon after or before.
 		</para>
 	    </listitem>
 	    <listitem>

+ 1 - 1
src/modules/tm/doc/params.xml

@@ -603,7 +603,7 @@ modparam("tm", "blst_503_max_timeout", 604800)
 		Change the value carefully, because requests that doesn't get
 		a provisional response (everything but INVITE) can easily
 		cause the next hop to be inserted into the blacklist
-		by mistake. For exmaple the next hop is a proxy, it is alive,
+		by mistake. For example the next hop is a proxy, it is alive,
 		but waiting for the response of the UAS, and has higher
 		fr_timer value.
 	</para>