Browse Source

KAM-10 ignore OPTIONS method

5.0 5.0.26
Luis Azedo 5 years ago
parent
commit
b01055b90f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      kamailio/antiflood-role.cfg

+ 2
- 0
kamailio/antiflood-role.cfg View File

@ -65,6 +65,8 @@ route[ANTIFLOOD_AUTH_LIMIT]
return(1);
}
if (is_method("OPTIONS")) return(1);
$var(auth_key) = "";
if($sel(cfg_get.kazoo.antiflood_failed_auth_use_port) == 1) {
$var(auth_key) = $_s("$Au::$si::$sp");


Loading…
Cancel
Save