diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c index aa7d24e421..0b4feb7e8f 100644 --- a/channels/chan_iax2.c +++ b/channels/chan_iax2.c @@ -1299,8 +1299,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]); @@ -1361,7 +1361,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]);