From: David Vossel Date: Fri, 26 Jun 2009 19:47:11 +0000 (+0000) Subject: moving debug message from level 0 to 1. X-Git-Tag: 11.0.0-beta1~4592 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=519f1dd7d60299a1108a1a4dafcdef4544eac82b;p=thirdparty%2Fasterisk.git 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/trunk@203710 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index 3b6902e13e..ead0f8f39c 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -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);