From 5861048fb62a6ef78a86d0ec3e79c5ba53a98f87 Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Wed, 15 Nov 2006 00:15:38 +0000 Subject: [PATCH] Merged revisions 47639 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47639 | file | 2006-11-14 19:14:07 -0500 (Tue, 14 Nov 2006) | 2 lines Turn notice about unknown RTCP packet type into a debug message instead. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47640 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- main/rtp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/rtp.c b/main/rtp.c index a51165c688..415327358f 100644 --- a/main/rtp.c +++ b/main/rtp.c @@ -949,7 +949,8 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp) ast_verbose("Received a BYE from %s:%d\n", ast_inet_ntoa(rtp->rtcp->them.sin_addr), ntohs(rtp->rtcp->them.sin_port)); break; default: - ast_log(LOG_NOTICE, "Unknown RTCP packet (pt=%d) received from %s:%d\n", pt, ast_inet_ntoa(rtp->rtcp->them.sin_addr), ntohs(rtp->rtcp->them.sin_port)); + if (option_debug) + ast_log(LOG_DEBUG, "Unknown RTCP packet (pt=%d) received from %s:%d\n", pt, ast_inet_ntoa(rtp->rtcp->them.sin_addr), ntohs(rtp->rtcp->them.sin_port)); break; } position += (length + 1);