From c0c395514c2ed096f10cd62b2bbd938ba1fe6720 Mon Sep 17 00:00:00 2001
From: Richard Mudgett <rmudgett@digium.com>
Date: Thu, 18 Dec 2014 22:33:49 +0000
Subject: [PATCH] chan_dahdi.c, res_rtp_asterisk.c: Change some spammy debug
 messages to level 5.

ASTERISK-24337 #close
Reported by: Rusty Newton


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@429804 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 channels/chan_dahdi.c  | 8 +++++---
 res/res_rtp_asterisk.c | 2 +-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 5610b00443..2471eb639b 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -9602,15 +9602,17 @@ static int dahdi_write(struct ast_channel *ast, struct ast_frame *frame)
 		return -1;
 	}
 	if (p->dialing) {
-		ast_debug(1, "Dropping frame since I'm still dialing on %s...\n",ast_channel_name(ast));
+		ast_debug(5, "Dropping frame since I'm still dialing on %s...\n",
+			ast_channel_name(ast));
 		return 0;
 	}
 	if (!p->owner) {
-		ast_debug(1, "Dropping frame since there is no active owner on %s...\n",ast_channel_name(ast));
+		ast_debug(5, "Dropping frame since there is no active owner on %s...\n",
+			ast_channel_name(ast));
 		return 0;
 	}
 	if (p->cidspill) {
-		ast_debug(1, "Dropping frame since I've still got a callerid spill on %s...\n",
+		ast_debug(5, "Dropping frame since I've still got a callerid spill on %s...\n",
 			ast_channel_name(ast));
 		return 0;
 	}
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index 18c6af782d..fc0f9d9ba6 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -4066,7 +4066,7 @@ static int bridge_p2p_rtp_write(struct ast_rtp_instance *instance, unsigned int
 	ast_rtp_instance_get_remote_address(instance1, &remote_address);
 
 	if (ast_sockaddr_isnull(&remote_address)) {
-		ast_debug(1, "Remote address is null, most likely RTP has been stopped\n");
+		ast_debug(5, "Remote address is null, most likely RTP has been stopped\n");
 		return 0;
 	}
 
-- 
GitLab