From 6705f034061b134fc09b1e10f619eb3c6d98fa3f Mon Sep 17 00:00:00 2001 From: pabelanger Date: Fri, 4 Feb 2011 16:55:39 +0000 Subject: Replace ast_log(LOG_DEBUG, ...) with ast_debug() (closes issue #18556) Reported by: kkm Review: https://reviewboard.asterisk.org/r/1071/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@306258 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_rpt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/app_rpt.c') diff --git a/apps/app_rpt.c b/apps/app_rpt.c index 765f73184..88997936c 100644 --- a/apps/app_rpt.c +++ b/apps/app_rpt.c @@ -1646,7 +1646,7 @@ static const char* dtmf_tones[] = { ast_playtones_start(myrpt->txchannel, 0, dtmf_tones[15], 0); else { /* not handled */ - ast_log(LOG_DEBUG, "Unable to generate DTMF tone '%c' for '%s'\n", digit, myrpt->txchannel->name); + ast_debug(1, "Unable to generate DTMF tone '%c' for '%s'\n", digit, myrpt->txchannel->name); } rpt_mutex_lock(&myrpt->lock); } @@ -12525,7 +12525,7 @@ struct ast_format_cap *cap = NULL; f->data.ptr,f->datalen / 2); if (n1 != l->wasvox) { - if (debug)ast_log(LOG_DEBUG,"Link Node %s, vox %d\n",l->name,n1); + ast_debug(1,"Link Node %s, vox %d\n",l->name,n1); l->wasvox = n1; l->voxtostate = 0; if (n1) l->voxtotimer = myrpt->p.voxtimeout_ms; @@ -12874,7 +12874,7 @@ struct ast_format_cap *cap = NULL; n = dovox(&myrpt->vox,f->data.ptr,f->datalen / 2); if (n != myrpt->wasvox) { - if (debug) ast_log(LOG_DEBUG,"Node %s, vox %d\n",myrpt->name,n); + ast_debug(1,"Node %s, vox %d\n",myrpt->name,n); myrpt->wasvox = n; myrpt->voxtostate = 0; if (n) myrpt->voxtotimer = myrpt->p.voxtimeout_ms; -- cgit v1.2.3