diff --git a/kamailio/presence-role.cfg b/kamailio/presence-role.cfg index 0dcd752..41ca8e2 100644 --- a/kamailio/presence-role.cfg +++ b/kamailio/presence-role.cfg @@ -5,22 +5,31 @@ modparam("htable", "htable", "dbkp=>size=16;autoexpire=7200") loadmodule "presence.so" loadmodule "presence_dialoginfo.so" loadmodule "presence_mwi.so" +loadmodule "presence_xml.so" + modparam("presence", "subs_db_mode", 1) modparam("presence", "expires_offset", 60) modparam("presence", "publ_cache", 0) -#modparam("presence", "min_expires", 300) +modparam("presence", "min_expires", 0) modparam("presence", "max_expires", 3600) modparam("presence", "db_url", "MY_AMQP_URL/dialoginfo") +modparam("presence", "send_fast_notify", 0) +modparam("presence", "clean_period", 10) + +modparam("presence_xml", "integrated_xcap_server", 1) +modparam("presence_xml", "db_url", "MY_AMQP_URL/dialoginfo") +modparam("presence_xml", "force_active", 1) ######## Presence User Agent module ######## loadmodule "pua.so" -loadmodule "pua_dialoginfo.so" -modparam("pua_dialoginfo", "library_mode", 1) -modparam("pua", "db_url", "text:///etc/kazoo/kamailio/dbtext") modparam("pua", "db_mode", 0) +modparam("pua", "db_url", "MY_AMQP_URL/dialoginfo") modparam("pua", "min_expires", 300) modparam("pua", "outbound_proxy", "sip:MY_IP_ADDRESS") +loadmodule "pua_dialoginfo.so" +modparam("pua_dialoginfo", "library_mode", 1) + ####### Presence Logic ######## route[HANDLE_SUBSCRIBE] {