Browse Source

KAZOO-2780-PUA avoid PUA

3.19
lazedo 11 years ago
parent
commit
f3d0e2d2be
1 changed files with 8 additions and 6 deletions
  1. +8
    -6
      kamailio/presence-role.cfg

+ 8
- 6
kamailio/presence-role.cfg View File

@ -17,12 +17,12 @@ modparam("presence_xml", "force_active", 1)
######## Presence User Agent module ######## ######## 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 ######## ####### Presence Logic ########
@ -75,6 +75,8 @@ route[HANDLE_PUBLISH]
event_route[kazoo:consumer-event-presence-update] event_route[kazoo:consumer-event-presence-update]
{ {
kazoo_pua_publish($kzE); 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 # vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab

Loading…
Cancel
Save