diff --git a/dsp.c b/dsp.c index f23f45b6a9..c86354f363 100644 --- a/dsp.c +++ b/dsp.c @@ -1292,8 +1292,10 @@ int ast_dsp_busydetect(struct ast_dsp *dsp) } #endif #if 1 +#ifndef BUSYDETECT_TONEONLY if (res) ast_log(LOG_DEBUG, "ast_dsp_busydetect detected busy, avgtone: %d, avgsilence %d\n", avgtone, avgsilence); +#endif #endif return res; }