Browse Source

log contact expiration

update-rsyslog-config
lazedo 7 years ago
parent
commit
3e57a7d50c
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]
{
## 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;
$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));
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


Loading…
Cancel
Save