]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 191494 via svnmerge from
authorTilghman Lesher <tilghman@meg.abyt.es>
Fri, 1 May 2009 18:31:28 +0000 (18:31 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Fri, 1 May 2009 18:31:28 +0000 (18:31 +0000)
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

channels/chan_iax2.c

index f21770419c85a2f30cfef7dabeb747fdc16caad6..9044d92fd43a2d164ca3d5b7386b9eb5d216e90b 100644 (file)
@@ -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]);