[sr-dev] git:master: Fixed a typo in 'matrix' module documentation.
Alex Balashov
abalashov at evaristesys.com
Wed Oct 6 02:27:40 CEST 2010
Module: sip-router
Branch: master
Commit: bf24a689d909656e8a580022bb62fd79b6849cac
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=bf24a689d909656e8a580022bb62fd79b6849cac
Author: Alex Balashov <abalashov at evaristesys.com>
Committer: Alex Balashov <abalashov at evaristesys.com>
Date: Tue Oct 5 20:27:10 2010 -0400
Fixed a typo in 'matrix' module documentation.
---
modules/matrix/README | 18 +++++++++---------
modules/matrix/doc/matrix_admin.xml | 2 +-
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/modules/matrix/README b/modules/matrix/README
index b01ea30..da70e3c 100644
--- a/modules/matrix/README
+++ b/modules/matrix/README
@@ -11,7 +11,7 @@ Henning Westerholt
1&1 Internet AG
<henning.westerholt at 1und1.de>
- Copyright © 2008 1&1 Internet AG
+ Copyright © 2008 1&1 Internet AG
Revision History
Revision $Revision: 4863 $ $Date: 2008-09-05 13:11:33 +0200 (Fri, 05
Sep 2008) $
@@ -142,7 +142,7 @@ Chapter 1. Admin Guide
The URL for the database connection.
- Default value is "mysql://openserro:openserro@localhost/openser".
+ Default value is âmysql://openserro:openserro@localhost/openserâ.
Example 1.1. Set db_url parameter
...
@@ -153,7 +153,7 @@ modparam("matrix", "db_url", "mysql://openserro:openserro@localhost/openser")
The name of the table containing the matrix data.
- Default value is "matrix".
+ Default value is âmatrixâ.
Example 1.2. Set matrix_table parameter
...
@@ -164,7 +164,7 @@ modparam("matrix", "matrix_table", "matrix")
The name of the column containing the first row in the matrix.
- Default value is "first".
+ Default value is âfirstâ.
Example 1.3. Set matrix_first_col parameter
...
@@ -175,7 +175,7 @@ modparam("matrix", "matrix_first_col", "first")
The name of the column containing the second row in the matrix.
- Default value is "second".
+ Default value is âsecondâ.
Example 1.4. Set matrix_second_col parameter
...
@@ -186,7 +186,7 @@ modparam("matrix", "matrix_second_col", "second")
The name of the column containing the result ID to be used.
- Default value is "res".
+ Default value is âresâ.
Example 1.5. Set matrix_res_col parameter
...
@@ -206,7 +206,7 @@ modparam("matrix", "matrix_res_col", "res")
Example 1.6. matrix usage
...
-if (!matrix("$avp(first)", "$(second)", "$avp(route_tree)"))
+if (!matrix("$avp(first)", "$avp(second)", "$avp(route_tree)"))
$avp(route_tree) = $avp(frst); # default routing as defined for source number
}
cr_route("$avp(route_tree)", "$rd", "$rU", "$rU", "call_id");
@@ -267,7 +267,7 @@ Chapter 2. Module parameter for database access.
URL to the database containing the data.
- Default value is "mysql://openserro:openserro@localhost/openser".
+ Default value is âmysql://openserro:openserro@localhost/openserâ.
Example 2.1. Set db_url parameter
...
@@ -278,7 +278,7 @@ modparam("matrix", "db_url", "dbdriver://username:password@dbhost/dbname")
Name of the matrix table for the matrix module.
- Default value is "matrix".
+ Default value is âmatrixâ.
Example 2.2. Set matrix_table parameter
...
diff --git a/modules/matrix/doc/matrix_admin.xml b/modules/matrix/doc/matrix_admin.xml
index 5db4149..ce334ad 100644
--- a/modules/matrix/doc/matrix_admin.xml
+++ b/modules/matrix/doc/matrix_admin.xml
@@ -175,7 +175,7 @@ modparam("matrix", "matrix_res_col", "res")
<title><function>matrix</function> usage</title>
<programlisting format="linespecific">
...
-if (!matrix("$avp(first)", "$(second)", "$avp(route_tree)"))
+if (!matrix("$avp(first)", "$avp(second)", "$avp(route_tree)"))
$avp(route_tree) = $avp(frst); # default routing as defined for source number
}
cr_route("$avp(route_tree)", "$rd", "$rU", "$rU", "call_id");
More information about the sr-dev
mailing list