|
@@ -44,7 +44,7 @@ Juha Heinanen
|
|
3.9. max_expires (int)
|
|
3.9. max_expires (int)
|
|
3.10. server_address (str)
|
|
3.10. server_address (str)
|
|
3.11. fallback2db (int)
|
|
3.11. fallback2db (int)
|
|
- 3.12. dbmode (int)
|
|
|
|
|
|
+ 3.12. db_mode (int)
|
|
3.13. subs_htable_size (int)
|
|
3.13. subs_htable_size (int)
|
|
3.14. pres_htable_size (int)
|
|
3.14. pres_htable_size (int)
|
|
3.15. enable_sphere_check (int)
|
|
3.15. enable_sphere_check (int)
|
|
@@ -96,7 +96,7 @@ Juha Heinanen
|
|
1.9. Set max_expires parameter
|
|
1.9. Set max_expires parameter
|
|
1.10. Set server_address parameter
|
|
1.10. Set server_address parameter
|
|
1.11. Set fallback2db parameter
|
|
1.11. Set fallback2db parameter
|
|
- 1.12. Set dbmode parameter
|
|
|
|
|
|
+ 1.12. Set db_mode parameter
|
|
1.13. Set subs_htable_size parameter
|
|
1.13. Set subs_htable_size parameter
|
|
1.14. Set pres_htable_size parameter
|
|
1.14. Set pres_htable_size parameter
|
|
1.15. Set enable_sphere_check parameter
|
|
1.15. Set enable_sphere_check parameter
|
|
@@ -131,7 +131,7 @@ Chapter 1. Admin Guide
|
|
3.9. max_expires (int)
|
|
3.9. max_expires (int)
|
|
3.10. server_address (str)
|
|
3.10. server_address (str)
|
|
3.11. fallback2db (int)
|
|
3.11. fallback2db (int)
|
|
- 3.12. dbmode (int)
|
|
|
|
|
|
+ 3.12. db_mode (int)
|
|
3.13. subs_htable_size (int)
|
|
3.13. subs_htable_size (int)
|
|
3.14. pres_htable_size (int)
|
|
3.14. pres_htable_size (int)
|
|
3.15. enable_sphere_check (int)
|
|
3.15. enable_sphere_check (int)
|
|
@@ -175,7 +175,7 @@ Chapter 1. Admin Guide
|
|
instances, maybe on different servers using the same database. This
|
|
instances, maybe on different servers using the same database. This
|
|
parameter remains only for legacy purposes. As a new feature for the
|
|
parameter remains only for legacy purposes. As a new feature for the
|
|
presence engine, it is possible to have three database modes, which one
|
|
presence engine, it is possible to have three database modes, which one
|
|
- can configure through the dbmode parameter. Setting dbmode to 0, 1, 2
|
|
|
|
|
|
+ can configure through the db_mode parameter. Setting db_mode to 0, 1, 2
|
|
respective will cause the subscribers to be retrieved from memory only,
|
|
respective will cause the subscribers to be retrieved from memory only,
|
|
from memory and to fallback to database mode in case a record is not
|
|
from memory and to fallback to database mode in case a record is not
|
|
found in memory, and from database only.
|
|
found in memory, and from database only.
|
|
@@ -217,7 +217,7 @@ Chapter 1. Admin Guide
|
|
3.9. max_expires (int)
|
|
3.9. max_expires (int)
|
|
3.10. server_address (str)
|
|
3.10. server_address (str)
|
|
3.11. fallback2db (int)
|
|
3.11. fallback2db (int)
|
|
- 3.12. dbmode (int)
|
|
|
|
|
|
+ 3.12. db_mode (int)
|
|
3.13. subs_htable_size (int)
|
|
3.13. subs_htable_size (int)
|
|
3.14. pres_htable_size (int)
|
|
3.14. pres_htable_size (int)
|
|
3.15. enable_sphere_check (int)
|
|
3.15. enable_sphere_check (int)
|
|
@@ -359,18 +359,18 @@ modparam("presence", "server_address", "sip:10.10.10.10:5060")
|
|
modparam("presence", "fallback2db", 1)
|
|
modparam("presence", "fallback2db", 1)
|
|
...
|
|
...
|
|
|
|
|
|
-3.12. dbmode (int)
|
|
|
|
|
|
+3.12. db_mode (int)
|
|
|
|
|
|
This parameter sets the mode in which records are retrieved. Setting
|
|
This parameter sets the mode in which records are retrieved. Setting
|
|
this parameter to 0 or 1 is equivalent to setting fallback2db to 0 or
|
|
this parameter to 0 or 1 is equivalent to setting fallback2db to 0 or
|
|
- 1, respectiv. The dbmode parameter can also take a third value, 2, in
|
|
|
|
|
|
+ 1, respectiv. The db_mode parameter can also take a third value, 2, in
|
|
which records are retrieved from database only. So, the three database
|
|
which records are retrieved from database only. So, the three database
|
|
modes in which the presence engine can operate are: memory only,
|
|
modes in which the presence engine can operate are: memory only,
|
|
fallback to database, and database only.
|
|
fallback to database, and database only.
|
|
|
|
|
|
- Example 1.12. Set dbmode parameter
|
|
|
|
|
|
+ Example 1.12. Set db_mode parameter
|
|
...
|
|
...
|
|
-modparam("presence", "dbmode", 2)
|
|
|
|
|
|
+modparam("presence", "db_mode", 2)
|
|
...
|
|
...
|
|
|
|
|
|
3.13. subs_htable_size (int)
|
|
3.13. subs_htable_size (int)
|