moving debug message from level 0 to 1.
authorDavid Vossel <dvossel@digium.com>
Fri, 26 Jun 2009 19:47:11 +0000 (19:47 +0000)
committerDavid Vossel <dvossel@digium.com>
Fri, 26 Jun 2009 19:47:11 +0000 (19:47 +0000)
(closes issue #15404)
Reported by: leobrown
Patches:
      iax_codec_debug.patch uploaded by leobrown (license 541)

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

channels/chan_iax2.c

index 3b6902e..ead0f8f 100644 (file)
@@ -3709,7 +3709,7 @@ static int create_addr(const char *peername, struct ast_channel *c, struct socka
        memcpy(&ourprefs, &peer->prefs, sizeof(ourprefs));
        /* Move the calling channel's native codec to the top of the preference list */
        if (c) {
-               ast_log(LOG_DEBUG, "prepending %x to prefs\n", c->nativeformats);
+               ast_debug(1, "prepending %x to prefs\n", c->nativeformats);
                ast_codec_pref_prepend(&ourprefs, c->nativeformats, 1);
        }
        ast_codec_pref_convert(&ourprefs, cai->prefs, sizeof(cai->prefs), 1);