Module: kamailio
Branch: master
Commit: 15091551cdfddc6f85db4dec8b47b4f5401399d2
URL:
https://github.com/kamailio/kamailio/commit/15091551cdfddc6f85db4dec8b47b4f…
Author: Emmanuel Schmidbauer <eschmidbauer(a)voipxswitch.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2015-06-17T16:17:07+02:00
permissions: updated docs with parameters for new columns of trusted table
- used for setting priority and regexp matching over r-uri
---
Modified: modules/permissions/doc/permissions.xml
Modified: modules/permissions/doc/permissions_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/15091551cdfddc6f85db4dec8b47b4f…
Patch:
https://github.com/kamailio/kamailio/commit/15091551cdfddc6f85db4dec8b47b4f…
---
diff --git a/modules/permissions/doc/permissions.xml
b/modules/permissions/doc/permissions.xml
index 9da70ee..482b5cf 100644
--- a/modules/permissions/doc/permissions.xml
+++ b/modules/permissions/doc/permissions.xml
@@ -41,6 +41,13 @@
<email>jh(a)tutpro.com</email>
</address>
</editor>
+ <editor>
+ <firstname>Emmanuel</firstname>
+ <surname>Schmidbauer</surname>
+ <address>
+ <email>eschmidbauer(a)voipxswitch.com</email>
+ </address>
+ </editor>
</authorgroup>
<copyright>
<year>2003</year>
diff --git a/modules/permissions/doc/permissions_admin.xml
b/modules/permissions/doc/permissions_admin.xml
index 82785d5..ce93321 100644
--- a/modules/permissions/doc/permissions_admin.xml
+++ b/modules/permissions/doc/permissions_admin.xml
@@ -664,6 +664,26 @@ modparam("permissions", "from_col",
"regexp")
</programlisting>
</example>
</section>
+ <section id ="permissions.p.ruri_col">
+ <title><varname>ruri_col</varname> (string)</title>
+ <para>
+ Name of the column trusted table containing a regular
+ expression that is matched against the Request URI.
+ </para>
+ <para>
+ <emphasis>
+ Default value is <quote>ruri_pattern</quote>.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>ruri_col</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("permissions", "ruri_col", "regexp")
+...
+</programlisting>
+ </example>
+ </section>
<section id ="permissions.p.tag_col">
<title><varname>tag_col</varname> (string)</title>
<para>
@@ -686,6 +706,26 @@ modparam("permissions", "tag_col",
"peer_tag")
</programlisting>
</example>
</section>
+ <section id ="permissions.p.priority_col">
+ <title><varname>priority_col</varname> (integer)</title>
+ <para>
+ The column name used to store the priority of the corresponding rule from the database
+ row.
+ </para>
+ <para>
+ <emphasis>
+ Default value is <quote>priority</quote>.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>priority_col</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("permissions", "priority_col", "column_name")
+...
+</programlisting>
+ </example>
+ </section>
<section id ="permissions.p.peer_tag_avp">
<title><varname>peer_tag_avp</varname> (AVP string)</title>
<para>