summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--channels/chan_iax2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/channels/chan_iax2.c b/channels/chan_iax2.c
index a55f75aae..8583dbc93 100644
--- a/channels/chan_iax2.c
+++ b/channels/chan_iax2.c
@@ -1306,8 +1306,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]);
@@ -1368,7 +1368,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]);