[asterisk-commits] file: trunk r186687 - /trunk/res/res_rtp_asterisk.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon Apr 6 18:11:16 CDT 2009
Author: file
Date: Mon Apr 6 18:11:13 2009
New Revision: 186687
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=186687
Log:
Fix a log message getting output when it should not have been.
Modified:
trunk/res/res_rtp_asterisk.c
Modified: trunk/res/res_rtp_asterisk.c
URL: http://svn.digium.com/svn-view/asterisk/trunk/res/res_rtp_asterisk.c?view=diff&rev=186687&r1=186686&r2=186687
==============================================================================
--- trunk/res/res_rtp_asterisk.c (original)
+++ trunk/res/res_rtp_asterisk.c Mon Apr 6 18:11:13 2009
@@ -1308,8 +1308,10 @@
samples = ntohl(*((unsigned int *)(data)));
samples &= 0xFFFF;
- ast_verbose("Got RTP RFC2833 from %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u, mark %d, event %08x, end %d, duration %-5.5d) \n", ast_inet_ntoa(remote_address.sin_addr),
- ntohs(remote_address.sin_port), payloadtype, seqno, timestamp, len, (mark?1:0), event, ((event_end & 0x80)?1:0), samples);
+ if (rtp_debug_test_addr(&remote_address)) {
+ ast_verbose("Got RTP RFC2833 from %s:%u (type %-2.2d, seq %-6.6u, ts %-6.6u, len %-6.6u, mark %d, event %08x, end %d, duration %-5.5d) \n", ast_inet_ntoa(remote_address.sin_addr),
+ ntohs(remote_address.sin_port), payloadtype, seqno, timestamp, len, (mark?1:0), event, ((event_end & 0x80)?1:0), samples);
+ }
/* Print out debug if turned on */
if (rtpdebug || option_debug > 2)
More information about the asterisk-commits
mailing list