Browse Source

tm: Fix typos in module documentation

Florian Floimair 7 years ago
parent
commit
52708b7fd7
3 changed files with 10 additions and 10 deletions
  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
 		This function is for revoking t_suspend() from the
 		same process as it was executed before. t_cancel_suspend() can be
 		same process as it was executed before. t_cancel_suspend() can be
 		used when something fails after t_suspend() has already been executed
 		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>
 	    <para>
 	    <para>
 		The message lumps are saved by t_suspend() which cannot be restored.
 		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.
 		used is the same protocol on which the message was received.
 	</para>
 	</para>
 	<para>
 	<para>
-		<function>t_relay()</function> is the statefull version for 
+		<function>t_relay()</function> is the stateful version for 
 		<function>forward()</function>
 		<function>forward()</function>
 		while <function>t_relay(host, port)</function> is similar to 
 		while <function>t_relay(host, port)</function> is similar to 
 		<function>forward(host, port)</function>.
 		<function>forward(host, port)</function>.
@@ -75,7 +75,7 @@ if (!t_relay())
 	    </listitem>
 	    </listitem>
 	</itemizedlist>
 	</itemizedlist>
 	<para>If no parameters are specified the message is sent to a destination
 	<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>
 	 the protocol corresponding to the function name.</para>
 	<example>
 	<example>
 	    <title><function>t_relay_to_udp</function> usage</title>
 	    <title><function>t_relay_to_udp</function> usage</title>
@@ -1144,7 +1144,7 @@ failure_route[1] {
 		</para>
 		</para>
 		<para>
 		<para>
 		  The q parameter of a branch contains a value from range 0-1.0
 		  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.
 		  among all branches in the destination set.
 		  The higher the q value the more preference the
 		  The higher the q value the more preference the
 		  user agent gave to the branch. Branches with higher q
 		  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>
 		<function moreinfo="none">t_check_status(re)</function>
 		</title>
 		</title>
 		<para>
 		<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:
 		reply code of the response message as follows:
 		<itemizedlist>
 		<itemizedlist>
 		<listitem>
 		<listitem>
@@ -1386,7 +1386,7 @@ if (t_check_status("(487)|(408)")) {
 				transaction wait time elapses, when the INVITE transaction no
 				transaction wait time elapses, when the INVITE transaction no
 				longer exists and thus would not match anything. There are
 				longer exists and thus would not match anything. There are
 				also cases when tm would not keep all the information needed
 				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
 				proxy and it requires additional memory, tm will not keep this
 				information unless needed by some other module or callbacks).
 				information unless needed by some other module or callbacks).
 				</para>
 				</para>
@@ -1432,7 +1432,7 @@ if ( method == "CANCEL" &amp;&amp; !t_check_trans())
 		<function>t_set_disable_6xx(0|1)</function>
 		<function>t_set_disable_6xx(0|1)</function>
 	</title>
 	</title>
 	<para>
 	<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
 		transaction basis. If turned off
 		(<function>t_set_disable_6xx("1")</function>) 6XXs will be treated
 		(<function>t_set_disable_6xx("1")</function>) 6XXs will be treated
 		like normal replies.
 		like normal replies.
@@ -1611,7 +1611,7 @@ t_replicate_to_udp("1.2.3.4", "5060");
 	    <listitem>
 	    <listitem>
 		<para><emphasis>proxy</emphasis> - address where the request should
 		<para><emphasis>proxy</emphasis> - address where the request should
 		be sent. Format is: "proto:host:port" - any of proto or port can be
 		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>
 		</para>
 	    </listitem>
 	    </listitem>
 	    <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
 		Change the value carefully, because requests that doesn't get
 		a provisional response (everything but INVITE) can easily
 		a provisional response (everything but INVITE) can easily
 		cause the next hop to be inserted into the blacklist
 		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
 		but waiting for the response of the UAS, and has higher
 		fr_timer value.
 		fr_timer value.
 	</para>
 	</para>