]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Change the message about receiving a mini-frame before the first full voice
authorRussell Bryant <russell@russellbryant.com>
Tue, 28 Aug 2007 21:38:26 +0000 (21:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 28 Aug 2007 21:38:26 +0000 (21:38 +0000)
frame to a DEBUG message.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@81291 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index d8855abf7f1d9cecefd49f0762a9c9e9ae6a3921..775e7473bd8fcf580868d723626bdc715ff1f34f 100644 (file)
@@ -8088,7 +8088,8 @@ retryowner2:
                if (iaxs[fr->callno]->voiceformat > 0)
                        f.subclass = iaxs[fr->callno]->voiceformat;
                else {
-                       ast_log(LOG_WARNING, "Received mini frame before first full voice frame\n ");
+                       if (option_debug)
+                               ast_log(LOG_DEBUG, "Received mini frame before first full voice frame\n");
                        iax2_vnak(fr->callno);
                        ast_mutex_unlock(&iaxsl[fr->callno]);
                        return 1;