From b01055b90f08894c20cf010c9e9c246edb4508a7 Mon Sep 17 00:00:00 2001 From: Luis Azedo Date: Thu, 3 Jun 2021 17:59:13 +0100 Subject: [PATCH] KAM-10 ignore OPTIONS method --- kamailio/antiflood-role.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kamailio/antiflood-role.cfg b/kamailio/antiflood-role.cfg index 20d6ea1..369108d 100644 --- a/kamailio/antiflood-role.cfg +++ b/kamailio/antiflood-role.cfg @@ -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");