Module: sip-router
Branch: master
Commit: 6a0201d83a4d441c0e3b74bd64d3a6557c4a1fe3
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=6a0201d…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Sep 15 10:47:04 2014 +0200
usrloc: db_ops_ruid default value to 1
---
modules/usrloc/README | 4 ++--
modules/usrloc/doc/usrloc_admin.xml | 4 ++--
modules/usrloc/ul_mod.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/modules/usrloc/README b/modules/usrloc/README
index 7275236..688b2d9 100644
--- a/modules/usrloc/README
+++ b/modules/usrloc/README
@@ -773,11 +773,11 @@ modparam("usrloc", "xavp_contact",
"ulattrs")
value. If it is set to 0, the old style using aor, contact and call-id
is done.
- Default value is "0".
+ Default value is "1".
Example 1.32. Set db_ops_ruid parameter
...
-modparam("usrloc", "db_ops_ruid", 1)
+modparam("usrloc", "db_ops_ruid", 0)
...
3.33. handle_lost_tcp (int)
diff --git a/modules/usrloc/doc/usrloc_admin.xml b/modules/usrloc/doc/usrloc_admin.xml
index ce2f693..a256e7a 100644
--- a/modules/usrloc/doc/usrloc_admin.xml
+++ b/modules/usrloc/doc/usrloc_admin.xml
@@ -862,14 +862,14 @@ modparam("usrloc", "xavp_contact",
"ulattrs")
</para>
<para>
<emphasis>
- Default value is <quote>0</quote>.
+ Default value is <quote>1</quote>.
</emphasis>
</para>
<example>
<title>Set <varname>db_ops_ruid</varname> parameter</title>
<programlisting format="linespecific">
...
-modparam("usrloc", "db_ops_ruid", 1)
+modparam("usrloc", "db_ops_ruid", 0)
...
</programlisting>
</example>
diff --git a/modules/usrloc/ul_mod.c b/modules/usrloc/ul_mod.c
index e307273..d3a1021 100644
--- a/modules/usrloc/ul_mod.c
+++ b/modules/usrloc/ul_mod.c
@@ -118,7 +118,7 @@ int ul_timer_procs = 0;
int ul_db_check_update = 0;
int ul_keepalive_timeout = 0;
-int ul_db_ops_ruid = 0;
+int ul_db_ops_ruid = 1;
int ul_expires_type = 0;
int ul_db_raw_fetch_type = 0;