Browse Source

Merge remote-tracking branch 'origin/master' into 4.1

4.1 4.1.14
karl anderson 9 years ago
parent
commit
ad5d7db0a2
2 changed files with 4 additions and 2 deletions
  1. +2
    -0
      kamailio/default.cfg
  2. +2
    -2
      kamailio/registrar-role.cfg

+ 2
- 0
kamailio/default.cfg View File

@ -781,6 +781,8 @@ failure_route[INTERNAL_FAULT]
xlog("L_INFO", "$ci|log|failure route ignoring call barred\n");
} else if (isflagset(FLAG_SESSION_PROGRESS)) {
xlog("L_INFO", "$ci|log|failure route ignoring failure after session progress\n");
} else if (t_check_status("403") && $var(reply_reason)=="Forbidden") {
xlog("L_WARNING", "$ci|log|failure route ignoring. Failed auth from IP $si\n");
} else if (t_check_status("(401)|(407)|(486)|(403)")) {
xlog("L_INFO", "$ci|log|failure route ignoring auth reply $T_reply_code $var(reply_reason)\n");
} else if (t_check_status("402")) {


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

@ -207,7 +207,7 @@ route[CHECK_AUTHORIZATION]
#!endif
auth_challenge("$fd", "0");
xlog("L_INFO", "$ci|end|issued auth challenge to failed registration attempt for $Au $si:$sp\n");
xlog("L_WARNING", "$ci|end|issued auth challenge to failed registration attempt for $Au from IP $si:$sp\n");
exit;
}
@ -325,7 +325,7 @@ route[REGISTRAR_BINDINGS]
#!ifndef REGISTRAR_CUSTOM_BINDINGS
$var(payload) = "{ 'exchange' : 'registrar' , 'type' : 'topic', 'queue' : 'registrar-flush-MY_HOSTNAME', 'routing' : 'registration.flush.*', 'no_ack' : 1, 'wait_for_consumer_ack' : 0 }";
$var(payload) = "{ 'exchange' : 'registrar' , 'type' : 'topic', 'queue' : 'registrar-flush-MY_HOSTNAME', 'routing' : 'registration.flush.*', 'federate' : 1, 'no_ack' : 1, 'wait_for_consumer_ack' : 0 }";
kazoo_subscribe("$var(payload)");
#!endif


Loading…
Cancel
Save