|
|
|
@ -67,13 +67,10 @@ kazoo.presence_request_resubscribe_probe = KZ_PRESENCE_REQUEST_RESUBSCRIBE_PROBE |
|
|
|
kazoo.presence_ignore_status_probe_resp = KZ_PRESENCE_IGNORE_STATUS_PROBE_RESP descr "ignore online/offline probe replies" |
|
|
|
kazoo.presence_max_call_per_presentity = KZ_PRESENCE_MAX_CALL_PER_PRESENTITY descr "max number of calls per presentity" |
|
|
|
|
|
|
|
#!ifdef FAST_PICKUP_ROLE |
|
|
|
#!include_file "fast-pickup-role.cfg" |
|
|
|
#!endif |
|
|
|
|
|
|
|
#!include_file "presence-query.cfg" |
|
|
|
#!include_file "presence-notify.cfg" |
|
|
|
#!include_file "presence-reset.cfg" |
|
|
|
#!include_file "presence-fast-pickup.cfg" |
|
|
|
|
|
|
|
####### Presence Logic ######## |
|
|
|
|
|
|
|
@ -345,9 +342,7 @@ event_route[kazoo:consumer-event-presence-dialog-update] |
|
|
|
xlog("L_DEBUG", "$(kzE{kz.json,Call-ID})|log|received $(kzE{kz.json,Event-Package}) update for $(kzE{kz.json,From}) state $(kzE{kz.json,State}) from $(kzE{kz.json,AMQP-Broker-Zone}) => $(kzE{kz.json,Switch-URI}) (Δ1 $(kzE{kz.json,AMQP-Elapsed-Micro}) μs , Δ2 $var(delta_to_start) μs)\n"); |
|
|
|
|
|
|
|
$var(JObj) = $kzE; |
|
|
|
#!ifdef FAST_PICKUP_ROLE |
|
|
|
route(FAST_PICKUP_INIT); |
|
|
|
#!endif |
|
|
|
route(PRESENCE_FAST_PICKUP_INIT); |
|
|
|
|
|
|
|
$var(presentity) = $(kzE{kz.json,From}); |
|
|
|
$var(payload) = $kzE; |
|
|
|
@ -505,9 +500,7 @@ route[PRESENCE_BINDINGS] |
|
|
|
|
|
|
|
route(PRESENCE_API_BINDINGS); |
|
|
|
|
|
|
|
#!ifdef FAST_PICKUP_ROLE |
|
|
|
route(FAST_PICKUP_START); |
|
|
|
#!endif |
|
|
|
route(PRESENCE_FAST_PICKUP_START); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|