|
@@ -64,7 +64,8 @@ Bogdan-Andrei Iancu
|
|
3.26. hash_size (integer)
|
|
3.26. hash_size (integer)
|
|
3.27. preload (string)
|
|
3.27. preload (string)
|
|
3.28. db_update_as_insert (string)
|
|
3.28. db_update_as_insert (string)
|
|
- 3.29. timer_procs (string)
|
|
|
|
|
|
+ 3.29. db_check_update (string)
|
|
|
|
+ 3.30. timer_procs (string)
|
|
|
|
|
|
4. Functions
|
|
4. Functions
|
|
5. MI Commands
|
|
5. MI Commands
|
|
@@ -137,7 +138,8 @@ Bogdan-Andrei Iancu
|
|
1.26. Set hash_size parameter
|
|
1.26. Set hash_size parameter
|
|
1.27. Set preload parameter
|
|
1.27. Set preload parameter
|
|
1.28. Set db_update_as_insert parameter
|
|
1.28. Set db_update_as_insert parameter
|
|
- 1.29. Set timer_procs parameter
|
|
|
|
|
|
+ 1.29. Set db_check_update parameter
|
|
|
|
+ 1.30. Set timer_procs parameter
|
|
|
|
|
|
Chapter 1. Admin Guide
|
|
Chapter 1. Admin Guide
|
|
|
|
|
|
@@ -182,7 +184,8 @@ Chapter 1. Admin Guide
|
|
3.26. hash_size (integer)
|
|
3.26. hash_size (integer)
|
|
3.27. preload (string)
|
|
3.27. preload (string)
|
|
3.28. db_update_as_insert (string)
|
|
3.28. db_update_as_insert (string)
|
|
- 3.29. timer_procs (string)
|
|
|
|
|
|
+ 3.29. db_check_update (string)
|
|
|
|
+ 3.30. timer_procs (string)
|
|
|
|
|
|
4. Functions
|
|
4. Functions
|
|
5. MI Commands
|
|
5. MI Commands
|
|
@@ -287,7 +290,8 @@ Chapter 1. Admin Guide
|
|
3.26. hash_size (integer)
|
|
3.26. hash_size (integer)
|
|
3.27. preload (string)
|
|
3.27. preload (string)
|
|
3.28. db_update_as_insert (string)
|
|
3.28. db_update_as_insert (string)
|
|
- 3.29. timer_procs (string)
|
|
|
|
|
|
+ 3.29. db_check_update (string)
|
|
|
|
+ 3.30. timer_procs (string)
|
|
|
|
|
|
3.1. nat_bflag (integer)
|
|
3.1. nat_bflag (integer)
|
|
|
|
|
|
@@ -667,7 +671,22 @@ modparam("usrloc", "preload", "location")
|
|
modparam("usrloc", "db_update_as_insert", 1)
|
|
modparam("usrloc", "db_update_as_insert", 1)
|
|
...
|
|
...
|
|
|
|
|
|
-3.29. timer_procs (string)
|
|
|
|
|
|
+3.29. db_check_update (string)
|
|
|
|
+
|
|
|
|
+ Set this parameter to 1 if you want to do DB INSERT if the number of
|
|
|
|
+ affected rows by contact DB UPDATE operation is 0. The database module
|
|
|
|
+ driver has to implement affected_rows() DB API function, otherwise this
|
|
|
|
+ parameter is ignored - e.g., MySQL and Postgres DB connectors offer
|
|
|
|
+ affected_rows().
|
|
|
|
+
|
|
|
|
+ Default value is "0" (no DB INSERT).
|
|
|
|
+
|
|
|
|
+ Example 1.29. Set db_check_update parameter
|
|
|
|
+...
|
|
|
|
+modparam("usrloc", "db_check_update", 1)
|
|
|
|
+...
|
|
|
|
+
|
|
|
|
+3.30. timer_procs (string)
|
|
|
|
|
|
Number of timer processes to be started by module. Timer processes take
|
|
Number of timer processes to be started by module. Timer processes take
|
|
care of checking expired records and syncronization with database. If
|
|
care of checking expired records and syncronization with database. If
|
|
@@ -676,7 +695,7 @@ modparam("usrloc", "db_update_as_insert", 1)
|
|
|
|
|
|
Default value is "0".
|
|
Default value is "0".
|
|
|
|
|
|
- Example 1.29. Set timer_procs parameter
|
|
|
|
|
|
+ Example 1.30. Set timer_procs parameter
|
|
...
|
|
...
|
|
modparam("usrloc", "timer_procs", 4)
|
|
modparam("usrloc", "timer_procs", 4)
|
|
...
|
|
...
|