]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change the full frame dropping log message to debug to avoid future bug reports.
authorJoshua Colp <jcolp@digium.com>
Tue, 12 Jun 2007 19:36:29 +0000 (19:36 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 12 Jun 2007 19:36:29 +0000 (19:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@69014 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index c76bd6d1084c06a6d2320fe5af86819e59c352d2..c94a6dac6720a490dff2d83b79109a528b6b806d 100644 (file)
@@ -6319,7 +6319,8 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
                if (cur) {
                        /* we found another thread processing a full frame for this call,
                           so we can't accept this frame */
-                       ast_log(LOG_WARNING, "Dropping frame from %s (callno %d) of type %d (subclass %d) due to frame of type %d (subclass %d) already in process\n",
+                       if (option_debug)
+                               ast_log(LOG_DEBUG, "Dropping frame from %s (callno %d) of type %d (subclass %d) due to frame of type %d (subclass %d) already in process\n",
                                ast_inet_ntoa(thread->iosin.sin_addr), cur->ffinfo.callno,
                                fh->type, uncompress_subclass(fh->csub),
                                cur->ffinfo.type, uncompress_subclass(cur->ffinfo.csub));