Module: sip-router
Branch: master
Commit: 53579abc49fcb61ba7358d64e2d25bdabfe42afd
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=53579ab…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Wed Apr 3 22:17:27 2013 +0200
group Update README xml with section ID's
---
modules/group/README | 15 ++++++++-------
modules/group/doc/group_admin.xml | 30 +++++++++++++++---------------
2 files changed, 23 insertions(+), 22 deletions(-)
diff --git a/modules/group/README b/modules/group/README
index c2ce2a7..c0a27b1 100644
--- a/modules/group/README
+++ b/modules/group/README
@@ -56,7 +56,7 @@ Jan Janak
1.5. Set group_column parameter
1.6. Set use_domain parameter
1.7. Set re_table parameter
- 1.8. Set reg_exp_column parameter
+ 1.8. Set re_exp_column parameter
1.9. Set re_gid_column parameter
1.10. Set multiple_gid parameter
1.11. is_user_in usage
@@ -108,7 +108,8 @@ Chapter 1. Admin Guide
groups they belong to. The module provides the possibility to check if
a specific user belongs to a specific group.
- There is no DB caching support, each check involving a DB query.
+ There is no DB caching support, which means that each check involves a
+ DB query.
1.2. Regular Expression based checking
@@ -129,7 +130,7 @@ Chapter 1. Admin Guide
2.1. Kamailio Modules
The following modules must be loaded before this module:
- * A database module, like mysql, postgres or dbtext
+ * A database module, like db_mysql, db_postgres or db_text
2.2. External Libraries or Applications
@@ -239,9 +240,9 @@ modparam("group", "re_table", "re_grp")
Default value is "reg_exp".
- Example 1.8. Set reg_exp_column parameter
+ Example 1.8. Set re_exp_column parameter
...
-modparam("group", "reg_exp_column", "re")
+modparam("group", "re_exp_column", "re")
...
3.9. re_gid_column (string)
@@ -273,7 +274,7 @@ modparam("group", "multiple_gid", 0)
4.1. is_user_in(URI, group)
4.2. get_user_group(URI, AVP)
-4.1. is_user_in(URI, group)
+4.1. is_user_in(URI, group)
This function is to be used for script group membership. The function
returns true if username in the given URI is a member of the given
@@ -300,7 +301,7 @@ if (is_user_in("Request-URI", "ld")) {
};
...
-4.2. get_user_group(URI, AVP)
+4.2. get_user_group(URI, AVP)
This function is to be used for regular expression based group
membership. The function returns true if username in the given URI
diff --git a/modules/group/doc/group_admin.xml b/modules/group/doc/group_admin.xml
index 7fd83fd..cc4177f 100644
--- a/modules/group/doc/group_admin.xml
+++ b/modules/group/doc/group_admin.xml
@@ -27,7 +27,7 @@
specific user belongs to a specific group.
</para>
<para>
- There is no DB caching support, each check involving a DB query.
+ There is no DB caching support, which means that each check involves a DB query.
</para>
</section>
<section>
@@ -55,7 +55,7 @@
<itemizedlist>
<listitem>
<para>
- A database module, like mysql, postgres or dbtext
+ A database module, like db_mysql, db_postgres or db_text
</para>
</listitem>
</itemizedlist>
@@ -79,7 +79,7 @@
<section>
<title>Parameters</title>
- <section>
+ <section id="group.p.db_url">
<title><varname>db_url</varname> (string)</title>
<para>
&url; of the database table to be used.
@@ -100,7 +100,7 @@ modparam("group", "db_url", "&exampledb;")
</example>
</section>
- <section>
+ <section id="group.p.table">
<title><varname>table</varname> (string)</title>
<para>
Name of the table holding strict definitions of groups and
@@ -121,7 +121,7 @@ modparam("group", "table", "grp_table")
</example>
</section>
- <section>
+ <section id="group.p.user_column">
<title><varname>user_column</varname> (string)</title>
<para>
Name of the <quote>table</quote> column holding usernames.
@@ -141,7 +141,7 @@ modparam("group", "user_column", "user")
</example>
</section>
- <section>
+ <section id="group.p.domain_column">
<title><varname>domain_column</varname> (string)</title>
<para>
Name of the <quote>table</quote> column holding domains.
@@ -161,7 +161,7 @@ modparam("group", "domain_column", "realm")
</example>
</section>
- <section>
+ <section id="group.p.group_column">
<title><varname>group_column</varname> (string)</title>
<para>
Name of the <quote>table</quote> column holding group names.
@@ -181,7 +181,7 @@ modparam("group", "group_column", "grp")
</example>
</section>
- <section>
+ <section id="group.p.use_domain">
<title><varname>use_domain</varname> (integer)</title>
<para>
If enabled (set to a non zero value) then the domain will be used also used
@@ -203,7 +203,7 @@ modparam("group", "use_domain", 1)
</example>
</section>
- <section>
+ <section id="group.p.re_table">
<title><varname>re_table</varname> (string)</title>
<para>
Name of the table holding definitions for regular-expression
@@ -225,7 +225,7 @@ modparam("group", "re_table", "re_grp")
</example>
</section>
- <section>
+ <section id="group.p.re_exp_column">
<title><varname>re_exp_column</varname> (string)</title>
<para>
Name of the <quote>re_table</quote> column holding the regular
@@ -237,10 +237,10 @@ modparam("group", "re_table", "re_grp")
</emphasis>
</para>
<example>
- <title>Set <varname>reg_exp_column</varname> parameter</title>
+ <title>Set <varname>re_exp_column</varname> parameter</title>
<programlisting format="linespecific">
...
-modparam("group", "reg_exp_column", "re")
+modparam("group", "re_exp_column", "re")
...
</programlisting>
</example>
@@ -266,7 +266,7 @@ modparam("group", "re_gid_column", "grp_id")
</example>
</section>
- <section>
+ <section id="group.p.multiple_gid">
<title><varname>multiple_gid</varname> (integer)</title>
<para>
If enabled (non zero value) the regular-expression matching will
@@ -291,7 +291,7 @@ modparam("group", "multiple_gid", 0)
<section>
<title>Functions</title>
- <section>
+ <section id="group.f.is_user_in">
<title>
<function moreinfo="none">is_user_in(URI, group)</function>
</title>
@@ -346,7 +346,7 @@ if (is_user_in("Request-URI", "ld")) {
</example>
</section>
- <section>
+ <section id="group.f.get_user_group">
<title>
<function moreinfo="none">get_user_group(URI, AVP)</function>
</title>
Module: sip-router
Branch: master
Commit: b523c774721afaa34f36dc278805736e04b3d27c
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b523c77…
Author: Torrey Searle <tsearle(a)gmail.com>
Committer: Torrey Searle <tsearle(a)gmail.com>
Date: Thu Apr 4 11:56:03 2013 +0200
modules/sipt: Update README in separate commit per best practices
---
modules/sipt/README | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/sipt/README b/modules/sipt/README
index 4131079..d8ad096 100644
--- a/modules/sipt/README
+++ b/modules/sipt/README
@@ -70,12 +70,12 @@ sipt_destination($rU, 31, 4);
3.2. sipt_get_hop_count()
- Returns the value of the Hop Coutner for the IAM message if it exists.
+ Returns the value of the Hop Counter for the IAM message if it exists.
Returns -1 if there isn't a hop counter.
Example 1.2. sipt_get_hop_counter() usage
...
-# get the hop couter and update the Max-Forwards header if it exists
+# get the hop counter and update the Max-Forwards header if it exists
$avp(s:hop) = sipt_get_hop_counter();
if($avp(s:hop) > 0)
{
Module: sip-router
Branch: master
Commit: 8cdbaddbf8ec9bfedc32732a6fed6753fab424ec
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=8cdbadd…
Author: Torrey Searle <tsearle(a)gmail.com>
Committer: Torrey Searle <tsearle(a)gmail.com>
Date: Thu Apr 4 11:40:26 2013 +0200
modules/sipt/doc: corrected documentation typos
---
modules/sipt/doc/sipt_admin.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/sipt/doc/sipt_admin.xml b/modules/sipt/doc/sipt_admin.xml
index 08e3e4e..4674161 100644
--- a/modules/sipt/doc/sipt_admin.xml
+++ b/modules/sipt/doc/sipt_admin.xml
@@ -59,14 +59,14 @@ sipt_destination($rU, 31, 4);
<section>
<title><function moreinfo="none">sipt_get_hop_count()</function></title>
<para>
- Returns the value of the Hop Coutner for the IAM message if it exists.
+ Returns the value of the Hop Counter for the IAM message if it exists.
Returns -1 if there isn't a hop counter.
</para>
<example>
<title><function moreinfo="none">sipt_get_hop_counter()</function> usage</title>
<programlisting format="linespecific">
...
-# get the hop couter and update the Max-Forwards header if it exists
+# get the hop counter and update the Max-Forwards header if it exists
$avp(s:hop) = sipt_get_hop_counter();
if($avp(s:hop) > 0)
{