Module: kamailio
Branch: master
Commit: 81fb65a7c89add3fc643f975044819800b7a9dcb
URL:
https://github.com/kamailio/kamailio/commit/81fb65a7c89add3fc643f9750448198…
Author: Patric Marschall <patric.marschall(a)1und1.de>
Committer: Patric Marschall <patric.marschall(a)1und1.de>
Date: 2015-06-16T15:34:28+02:00
p_usrloc: updated documentation
Updated documentation in p_usrloc module for parameters db_ops_ruid and
db_update_as_insert.
---
Modified: modules/p_usrloc/doc/p_usrloc_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/81fb65a7c89add3fc643f9750448198…
Patch:
https://github.com/kamailio/kamailio/commit/81fb65a7c89add3fc643f9750448198…
---
diff --git a/modules/p_usrloc/doc/p_usrloc_admin.xml
b/modules/p_usrloc/doc/p_usrloc_admin.xml
index 55703c1..d2f9595 100644
--- a/modules/p_usrloc/doc/p_usrloc_admin.xml
+++ b/modules/p_usrloc/doc/p_usrloc_admin.xml
@@ -539,7 +539,7 @@ modparam("p_usrloc", "connection_expires",
"300")
</para>
<example>
<title>Set <varname>alg_location</varname> parameter</title>
- <programlisting format="linespecific">
+ <programlisting format="linespecific">
...
modparam("p_usrloc", "alg_location", 1)
...
@@ -584,7 +584,53 @@ modparam("p_usrloc", "default_db_type",
"cluster")
</programlisting>
</example>
</section>
+
+ <section>
+ <title><varname>db_ops_ruid</varname> (int)</title>
+ <para>
+ If set to 1, database queries for update or delete are done using
+ ruid value. If it is set to 0, the old style using aor, contact and
+ call-id is done.
+ </para>
+ <para>
+ <emphasis>
+ Default value is <quote>1</quote>.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>db_ops_ruid</varname> parameter</title>
+ <programlisting format="linespecific">
+...
+modparam("p_usrloc", "db_ops_ruid", 0)
+...
+ </programlisting>
+ </example>
+ </section>
+
+ <section>
+ <title><varname>db_update_as_insert</varname>
(string)</title>
+ <para>
+ Set this parameter if you want to do INSERT DB operations
+ instead of UPDATE DB operations. It is recommended to set this parameter
+ if you use Cassandra as a DB backend.
+ </para>
+ <para>
+ <emphasis>
+ Default value is <quote>0</quote>.
+ </emphasis>
+ </para>
+ <example>
+ <title>Set <varname>db_update_as_insert</varname>
parameter</title>
+<programlisting format="linespecific">
+...
+modparam("usrloc", "db_update_as_insert", 1)
+...
+</programlisting>
+ </example>
</section>
+
+ </section>
+
<section>
<title><varname>default_db_url</varname>(str)</title>
<para>
@@ -647,7 +693,9 @@ modparam("p_usrloc", "db_mode", 2)
<title><varname>db_url</varname></title> <para> This
parameters is now obsolete, and replaced by specific p_usrloc parameters</para>
</section>
</section>
- <section>
+
+
+ <section>
<title>Installation & Running</title>
<section>
<title>Database setup</title>