From: Joshua Colp Date: Mon, 29 Oct 2007 20:02:31 +0000 (+0000) Subject: Drop the RTCP Read too short message to debug. There are some phones out there that... X-Git-Tag: 1.6.0-beta1~3^2~1081 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=255e26c480c0949dbd50d8bb2f1a23d0b48d375f;p=thirdparty%2Fasterisk.git 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. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87394 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/rtp.c b/main/rtp.c index 5b5223cf27..ef1cf0ddf0 100644 --- a/main/rtp.c +++ b/main/rtp.c @@ -1111,7 +1111,8 @@ struct ast_frame *ast_rtcp_read(struct ast_rtp *rtp) 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; }