Browse Source

KAZOO-2870 use db_kazoo pua_mode = 1 (saves to db module), use db_text

for the presentity db module.
3.19
lazedo 11 years ago
parent
commit
d214b5573f
1 changed files with 11 additions and 3 deletions
  1. +11
    -3
      kamailio/presence-role.cfg

+ 11
- 3
kamailio/presence-role.cfg View File

@ -6,12 +6,20 @@ loadmodule "presence_xml.so"
modparam("presence", "subs_db_mode", 0) modparam("presence", "subs_db_mode", 0)
modparam("presence", "expires_offset", 60) modparam("presence", "expires_offset", 60)
modparam("presence", "send_fast_notify", 0)
modparam("presence", "clean_period", 30)
modparam("presence", "publ_cache", 0) modparam("presence", "publ_cache", 0)
modparam("presence", "min_expires", 0) modparam("presence", "min_expires", 0)
modparam("presence", "max_expires", 3600) modparam("presence", "max_expires", 3600)
modparam("presence", "db_url", "MY_AMQP_URL/dialoginfo")
modparam("presence", "send_fast_notify", 0)
modparam("presence", "clean_period", 30)
## use this
#modparam("presence", "db_url", "MY_AMQP_URL/dialoginfo")
## or this
modparam("presence", "db_url", "text:///etc/kazoo/kamailio/dbtext")
modparam("db_kazoo", "db_url", "text:///etc/kazoo/kamailio/dbtext")
modparam("db_kazoo", "pua_mode", 1)
modparam("presence_xml", "force_active", 1) modparam("presence_xml", "force_active", 1)


Loading…
Cancel
Save