diff --git a/res/res_agi.c b/res/res_agi.c
index 495a50cfe4184064f98d6c6f5ba93a03c0e7912a..a3c95f46115bee21e631fb6c766159c1341db95d 100644
--- a/res/res_agi.c
+++ b/res/res_agi.c
@@ -2878,11 +2878,8 @@ static int agi_exec_full(struct ast_channel *chan, void *data, int enhanced, int
 		ast_log(LOG_WARNING, "AGI requires an argument (script)\n");
 		return -1;
 	}
-	if (dead && strcmp(chan->exten, "h"))
-		/*No need to print this message if called from the 'h' extension, since it
-		 * is well known that this is a hungup channel
-		 */
-		ast_log(LOG_NOTICE, "Hungup channel detected, running agi in dead mode.\n");
+	if (dead)
+		ast_debug(3, "Hungup channel detected, running agi in dead mode.\n");
 	ast_copy_string(buf, data, sizeof(buf));
 	memset(&agi, 0, sizeof(agi));
 	AST_STANDARD_APP_ARGS(args, tmp);