diff --git a/kamailio/default.cfg b/kamailio/default.cfg index 7574bc1..4d0119a 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -788,6 +788,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 + "->"