[asterisk-commits] file: trunk r87394 - /trunk/main/rtp.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 29 15:02:31 CDT 2007


Author: file
Date: Mon Oct 29 15:02:31 2007
New Revision: 87394

URL: http://svn.digium.com/view/asterisk?view=rev&rev=87394
Log:
Drop the RTCP Read too short message to debug. There are some phones out there that send a sort of keep alive packet in the RTCP that trigger this every 5 seconds.

Modified:
    trunk/main/rtp.c

Modified: trunk/main/rtp.c
URL: http://svn.digium.com/view/asterisk/trunk/main/rtp.c?view=diff&rev=87394&r1=87393&r2=87394
==============================================================================
--- trunk/main/rtp.c (original)
+++ trunk/main/rtp.c Mon Oct 29 15:02:31 2007
@@ -1111,7 +1111,8 @@
 		length &= 0xffff;
     
 		if ((i + length) > packetwords) {
-			ast_log(LOG_WARNING, "RTCP Read too short\n");
+			if (option_debug || rtpdebug)
+				ast_log(LOG_DEBUG, "RTCP Read too short\n");
 			return &ast_null_frame;
 		}
 		




More information about the asterisk-commits mailing list