Browse Source

log contact expiration

4.3
lazedo 7 years ago
committed by Luis Azedo
parent
commit
9d9fd35023
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      kamailio/registrar-role.cfg

+ 2
- 1
kamailio/registrar-role.cfg View File

@ -445,6 +445,7 @@ route[REGISTRAR_BOUNDS]
event_route[usrloc:contact-expired] event_route[usrloc:contact-expired]
{ {
## return until we handle this in ecallmr ## return until we handle this in ecallmr
xlog("L_INFO", "$ulc(exp=>callid)|expired|removed registration for $ulc(exp=>aor) with contact : $ulc(exp=>addr)\n");
return; return;
$var(transport) = $(ulc(exp=>received){uri.transport}); $var(transport) = $(ulc(exp=>received){uri.transport});
@ -493,7 +494,7 @@ event_route[usrloc:contact-expired]
kazoo_publish("registrar", $var(amqp_routing_key), $var(amqp_payload_request)); kazoo_publish("registrar", $var(amqp_routing_key), $var(amqp_payload_request));
xlog("L_INFO", "$ulc(exp=>callid)|expired|notified registration removal with contact : $ulc(exp=>addr)\n"); xlog("L_INFO", "$ulc(exp=>callid)|expired|notified registration removal with contact : $ulc(exp=>addr)\n");
} }
xlog("L_INFO", "$ulc(exp=>callid)|expired|removed registration with contact : $ulc(exp=>addr)\n");
xlog("L_INFO", "$ulc(exp=>callid)|expired|removed registration for $ulc(exp=>aor) with contact : $ulc(exp=>addr)\n");
} }
#!ifdef REGISTRAR_SYNC_ROLE #!ifdef REGISTRAR_SYNC_ROLE


Loading…
Cancel
Save