|
|
|
@ -9,7 +9,7 @@ loadmodule "presence_xml.so" |
|
|
|
modparam("presence_dialoginfo", "force_dummy_dialog", 1) |
|
|
|
modparam("presence_xml", "force_active", 1) |
|
|
|
|
|
|
|
modparam("presence", "subs_db_mode", 1) |
|
|
|
modparam("presence", "subs_db_mode", 3) |
|
|
|
modparam("presence", "expires_offset", 60) |
|
|
|
modparam("presence", "send_fast_notify", 1) |
|
|
|
modparam("presence", "clean_period", 30) |
|
|
|
@ -17,6 +17,7 @@ modparam("presence", "publ_cache", 0) |
|
|
|
modparam("presence", "min_expires_action", 2) |
|
|
|
modparam("presence", "min_expires", 300) |
|
|
|
modparam("presence", "max_expires", 3600) |
|
|
|
modparam("presence", "sip_uri_match", 1) |
|
|
|
modparam("presence", "db_url", "text:///etc/kazoo/kamailio/dbtext") |
|
|
|
|
|
|
|
modparam("kazoo", "db_url", "text:///etc/kazoo/kamailio/dbtext") |
|
|
|
@ -51,7 +52,11 @@ route[HANDLE_SUBSCRIBE] |
|
|
|
|
|
|
|
$ru = $(ru{s.tolower}); |
|
|
|
|
|
|
|
handle_subscribe(); |
|
|
|
if (!handle_subscribe()) { |
|
|
|
xlog("L_INFO", "$ci|stop|unsupported subsribe"); |
|
|
|
t_release(); |
|
|
|
exit; |
|
|
|
} |
|
|
|
|
|
|
|
##RabbitMQ |
|
|
|
$var(fs_path) = "%3C" + $rz + "%3A" + $Ri + "%3A" + $Rp + "%3Btransport=" + $proto + "%3Blr%3Breceived=" + $si+":"+$sp+"%3E"; |
|
|
|
|