From: Tilghman Lesher Date: Fri, 1 May 2009 18:31:28 +0000 (+0000) Subject: Merged revisions 191494 via svnmerge from X-Git-Tag: 1.6.1.3-rc1~286 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd33e2b9f34ecbdc6991eb3337fd8f98e0d5c386;p=thirdparty%2Fasterisk.git Merged revisions 191494 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r191494 | tilghman | 2009-05-01 13:18:00 -0500 (Fri, 01 May 2009) | 4 lines Set debug message back to DEBUG level. (closes issue #15007) Reported by: hulber ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@191553 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index f21770419c..9044d92fd4 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -1220,8 +1220,8 @@ static void __send_ping(const void *data) /* I am the schedule, so I'm allowed to do this */ iaxs[callno]->pingid = -1; } - } else if (option_debug > 0) { - ast_log(LOG_DEBUG, "I was supposed to send a PING with callno %d, but no such call exists (and I cannot remove pingid, either).\n", callno); + } else { + ast_debug(1, "I was supposed to send a PING with callno %d, but no such call exists.\n", callno); } ast_mutex_unlock(&iaxsl[callno]); @@ -1266,7 +1266,7 @@ static void __send_lagrq(const void *data) iaxs[callno]->lagid = -1; } } else { - ast_log(LOG_WARNING, "I was supposed to send a LAGRQ with callno %d, but no such call exists (and I cannot remove lagid, either).\n", callno); + ast_debug(1, "I was supposed to send a LAGRQ with callno %d, but no such call exists.\n", callno); } ast_mutex_unlock(&iaxsl[callno]);