From c2ce422b7f4211467e0eb01fc9c91ca067455ccb Mon Sep 17 00:00:00 2001 From: lazedo Date: Mon, 24 Feb 2020 03:58:17 +0000 Subject: [PATCH] don't add auth headers for in dialog messages --- kamailio/auth.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kamailio/auth.cfg b/kamailio/auth.cfg index 566740c..463729b 100644 --- a/kamailio/auth.cfg +++ b/kamailio/auth.cfg @@ -8,7 +8,7 @@ route[AUTH] return; } - if (!is_method("INVITE|MESSAGE|REFER")) { + if (!is_method("INVITE|MESSAGE|REFER")) { $avp(auth_allowed) = "true"; return; } @@ -22,7 +22,7 @@ route[AUTH_HEADERS] { remove_hf_re("^X-"); - if (!is_method("INVITE|MESSAGE|REFER") || has_totag()) { + if (!is_method("INVITE|MESSAGE|REFER")) { return; }