From a7d62fd60c64f1257fe8f1e9307fc7dd84f811ec Mon Sep 17 00:00:00 2001
From: Joshua Colp <jcolp@digium.com>
Date: Fri, 7 Jul 2006 23:59:54 +0000
Subject: [PATCH] Merged revisions 37307 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r37307 | file | 2006-07-07 19:57:53 -0400 (Fri, 07 Jul 2006) | 2 lines

Change message regarding marker bit forcing when SSRC changes to be shown only during debug so it doesn't overload high capacity systems

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37308 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 rtp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rtp.c b/rtp.c
index 8b290c97ca..ce37e93c12 100644
--- a/rtp.c
+++ b/rtp.c
@@ -1015,8 +1015,8 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp)
 	ssrc = ntohl(rtpheader[2]);
 	
 	if (!mark && rtp->rxssrc && rtp->rxssrc != ssrc) {
-		if (option_verbose > 1)
-			ast_verbose(VERBOSE_PREFIX_2 "Forcing Marker bit, because SSRC has changed\n");
+		if (option_debug || rtpdebug)
+			ast_log(LOG_DEBUG, "Forcing Marker bit, because SSRC has changed\n");
 		mark = 1;
 	}
 
-- 
GitLab