diff --git a/kamailio/default.cfg b/kamailio/default.cfg index 9b3ca33..46edb7b 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -732,6 +732,11 @@ failure_route[INTERNAL_FAULT] exit; } + if (!is_method("INVITE") || has_totag()) { + xlog("L_INFO", "$ci|failure|internal reply $T_reply_code $T_reply_reason\n"); + return; + } + # Handle redirects if (t_check_status("302")) { $var(redirect) = @from.uri.user + "@" + @from.uri.host + "->"