Browse Source

fail sooner for tcp/tls registrations

master
lazedo 6 years ago
parent
commit
453589e331
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      kamailio/default.cfg

+ 1
- 0
kamailio/default.cfg View File

@ -850,6 +850,7 @@ route[ROUTE_TO_AOR]
}
xlog("L_INFO", "$ci|log|using AOR $hdr(X-KAZOO-AOR)\n");
set_forward_no_connect();
if ($hdr(X-KAZOO-INVITE-FORMAT) == "contact") {
if(lookup("location", "$hdr(X-KAZOO-AOR)") > 0){
xlog("L_INFO", "$ci|end|routing to contact $ru\n");


Loading…
Cancel
Save