Browse Source

handle directory flush with cache-only

update-rsyslog-config
lazedo 7 years ago
parent
commit
e10084ecfd
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      kamailio/registrar-role.cfg

+ 4
- 0
kamailio/registrar-role.cfg View File

@ -355,6 +355,10 @@ event_route[kazoo:consumer-event-directory-reg-flush]
$sht(auth_cache=>$var(user)) = $null;
}
if( $(kzE{kz.json,Cache-Only}) == "true") {
return;
}
if(reg_fetch_contacts("location", "sip:$var(user)", "caller")) {
$var(i) = 0;
while($var(i) < $(ulc(caller=>count))) {


Loading…
Cancel
Save