diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-29 20:02:31 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-29 20:02:31 +0000 |
commit | c3322f662bffd6ed77c36d74ba06353b85aa5003 (patch) | |
tree | b46442669bd99ca0e42e250d3dd09aef18ad58a2 /main/rtp.c | |
parent | b6f49255a360826296364898a11fab03b4b14a92 (diff) |
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: http://svn.digium.com/svn/asterisk/trunk@87394 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/rtp.c')
-rw-r--r-- | main/rtp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/rtp.c b/main/rtp.c index 5b5223cf2..ef1cf0ddf 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; } |