diff --git a/kamailio/default.cfg b/kamailio/default.cfg index 9c7e537..28bfcc0 100644 --- a/kamailio/default.cfg +++ b/kamailio/default.cfg @@ -821,6 +821,10 @@ failure_route[INTERNAL_FAULT] xlog("L_INFO", "$ci|failure|ignoring call barred\n"); } else if (isflagset(FLAG_SESSION_PROGRESS)) { xlog("L_INFO", "$ci|failure|ignoring failure after session progress\n"); + if (t_check_status("480")) { + xlog("L_INFO", "$ci|failure|overriding reply code 480 with 486\n"); + send_reply("486", "Endpoint Not Available"); + } } else if (t_check_status("403") && $T_reply_reason=="Forbidden") { xlog("L_WARNING", "$ci|failure|Failed auth from IP $si\n"); } else if (t_check_status("(401)|(486)")) {