]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 203710 via svnmerge from
authorDavid Vossel <dvossel@digium.com>
Fri, 26 Jun 2009 19:48:49 +0000 (19:48 +0000)
committerDavid Vossel <dvossel@digium.com>
Fri, 26 Jun 2009 19:48:49 +0000 (19:48 +0000)
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203710 | dvossel | 2009-06-26 14:47:11 -0500 (Fri, 26 Jun 2009) | 7 lines

  moving debug message from level 0 to 1.

  (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/branches/1.6.1@203714 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 5d58220b390feefb0e6e241aa7e02652533cd7fc..7d08e299a16a0671d503983e3d179ce67d0187e1 100644 (file)
@@ -3537,7 +3537,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);