浏览代码

textopsx - typo fixes, minor corrections

Olle E. Johansson 13 年之前
父节点
当前提交
f9ab230357
共有 3 个文件被更改,包括 19 次插入19 次删除
  1. 10 10
      modules/textopsx/README
  2. 6 6
      modules/textopsx/doc/functions.xml
  3. 3 3
      modules/textopsx/doc/textopsx.xml

+ 10 - 10
modules/textopsx/README

@@ -23,17 +23,17 @@ Daniel-Constantin Mierla
 
 
 1.1. Overview
 1.1. Overview
 
 
-   This is a module implementing funtions for text operations over SIP
-   messages in configuration files. It comes to add new features similar
-   to textops module (textops eXtentions).
+   This module implements functions for SIP message text operations in
+   routing block configurations. It adds new features similar to the
+   textops module (textops eXtentions).
 
 
 1.2. Functions
 1.2. Functions
 
 
 1.2.1. msg_apply_changes()
 1.2.1. msg_apply_changes()
 
 
    Use this function to apply changes performed on SIP request content. Be
    Use this function to apply changes performed on SIP request content. Be
-   careful when using this function; due to special handling of changes
-   done to SIP message buffer so far, using this function might change the
+   careful when using this function; due to special handling of changes to
+   the SIP message buffer so far, using this function might change the
    behaviour of your config. Do test your config properly!
    behaviour of your config. Do test your config properly!
 
 
    This function can be used from REQUEST_ROUTE.
    This function can be used from REQUEST_ROUTE.
@@ -54,7 +54,7 @@ if(msg_apply_changes())
 1.2.2. change_reply_status(code, reason)
 1.2.2. change_reply_status(code, reason)
 
 
    Intercept a SIP reply (in an onreply_route) and change its status code
    Intercept a SIP reply (in an onreply_route) and change its status code
-   and reason phrase prior to propogating it.
+   and reason phrase prior to forwarding it.
 
 
    Meaning of the parameters is as follows:
    Meaning of the parameters is as follows:
      * code - Status code.
      * code - Status code.
@@ -74,7 +74,7 @@ onreply_route {
 
 
 1.2.3. remove_body()
 1.2.3. remove_body()
 
 
-   Use this function to remove body of SIP requests or replies.
+   Use this function to remove the body of SIP requests or replies.
 
 
    This function can be used from ANY_ROUTE.
    This function can be used from ANY_ROUTE.
 
 
@@ -99,11 +99,11 @@ keep_hf("User-Agent");
 
 
 1.2.5. fnmatch(value, expr [, flags])
 1.2.5. fnmatch(value, expr [, flags])
 
 
-   Match the value against the expr using the shell-style pattern for file
+   Match the value against the expr using shell-style pattern for file
    name matching (see man page for C function fnmatch()). It is known to
    name matching (see man page for C function fnmatch()). It is known to
-   be faster and uses less-memory than regexp.
+   be faster and use less-memory than regular expressions.
 
 
-   Parameters flags is optional and can be 'i' to do case insensitive
+   Parameter 'flags' is optional and can be 'i' to do case insensitive
    matching.
    matching.
 
 
    This function can be used from ANY_ROUTE.
    This function can be used from ANY_ROUTE.

+ 6 - 6
modules/textopsx/doc/functions.xml

@@ -12,7 +12,7 @@
 		<para>
 		<para>
 		Use this function to apply changes performed on SIP request content. Be
 		Use this function to apply changes performed on SIP request content. Be
 		careful when using this function;  due to special handling of changes
 		careful when using this function;  due to special handling of changes
-		done to SIP message buffer so far, using this function might change
+		to the SIP message buffer so far, using this function might change
 		the behaviour of your config.  Do test your config properly!
 		the behaviour of your config.  Do test your config properly!
 		</para>
 		</para>
    		<para>
    		<para>
@@ -42,7 +42,7 @@ if(msg_apply_changes())
 	</title>
 	</title>
 	<para>
 	<para>
 		Intercept a SIP reply (in an onreply_route) and change its status code 
 		Intercept a SIP reply (in an onreply_route) and change its status code 
-		and reason phrase prior to propogating it.
+		and reason phrase prior to forwarding it.
 	</para>
 	</para>
 	<para>Meaning of the parameters is as follows:</para>
 	<para>Meaning of the parameters is as follows:</para>
 	<itemizedlist>
 	<itemizedlist>
@@ -78,7 +78,7 @@ onreply_route {
 		<function moreinfo="none">remove_body()</function>
 		<function moreinfo="none">remove_body()</function>
 		</title>
 		</title>
 		<para>
 		<para>
-		Use this function to remove body of SIP requests or replies.
+		Use this function to remove the body of SIP requests or replies.
 		</para>
 		</para>
 		<para>
 		<para>
 		This function can be used from ANY_ROUTE.
 		This function can be used from ANY_ROUTE.
@@ -122,12 +122,12 @@ keep_hf("User-Agent");
 		<function moreinfo="none">fnmatch(value, expr [, flags])</function>
 		<function moreinfo="none">fnmatch(value, expr [, flags])</function>
 		</title>
 		</title>
 		<para>
 		<para>
-			Match the value against the expr using the shell-style pattern
+			Match the value against the expr using shell-style pattern
 			for file name matching (see man page for C function fnmatch()).
 			for file name matching (see man page for C function fnmatch()).
-			It is known to be faster and uses less-memory than regexp.
+			It is known to be faster and use less-memory than regular expressions.
 		</para>
 		</para>
 		<para>
 		<para>
-			Parameters flags is optional and can be 'i' to do case insensitive
+			Parameter 'flags' is optional and can be 'i' to do case insensitive
 			matching.
 			matching.
 		</para>
 		</para>
 		<para>
 		<para>

+ 3 - 3
modules/textopsx/doc/textopsx.xml

@@ -31,9 +31,9 @@
     <section id="textops.overview">
     <section id="textops.overview">
 	<title>Overview</title>
 	<title>Overview</title>
 	<para>
 	<para>
-		This is a module implementing funtions for text operations over
-		SIP messages in configuration files. It comes to add new features
-		similar to textops module (textops eXtentions).
+		This module implements functions for SIP message text operations 
+		in routing block configurations.
+		It adds new features similar to the textops module (textops eXtentions).
 	</para>
 	</para>
     </section>
     </section>