From f3d0e2d2be901dc943c4302689f7e4fc9f763d33 Mon Sep 17 00:00:00 2001 From: lazedo Date: Fri, 29 Aug 2014 19:52:42 +0100 Subject: [PATCH] KAZOO-2780-PUA avoid PUA --- kamailio/presence-role.cfg | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/kamailio/presence-role.cfg b/kamailio/presence-role.cfg index f829929..fe34670 100644 --- a/kamailio/presence-role.cfg +++ b/kamailio/presence-role.cfg @@ -17,12 +17,12 @@ modparam("presence_xml", "force_active", 1) ######## Presence User Agent module ######## -loadmodule "pua.so" -modparam("pua", "db_mode", 0) -modparam("pua", "db_url", "text:///etc/kazoo/kamailio/dbtext") -modparam("pua", "update_period", 6) -modparam("pua", "min_expires", 300) -modparam("pua", "outbound_proxy", "sip:MY_IP_ADDRESS") +#loadmodule "pua.so" +#modparam("pua", "db_mode", 0) +#modparam("pua", "db_url", "text:///etc/kazoo/kamailio/dbtext") +#modparam("pua", "update_period", 6) +#modparam("pua", "min_expires", 300) +#modparam("pua", "outbound_proxy", "sip:MY_IP_ADDRESS") ####### Presence Logic ######## @@ -75,6 +75,8 @@ route[HANDLE_PUBLISH] event_route[kazoo:consumer-event-presence-update] { kazoo_pua_publish($kzE); + pres_refresh_watchers("$(kzE{kz.json,From})", "$(kzE{kz.json,Event-Package})", 1); + } # vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab