diff options
author | Paul Belanger <paul.belanger@polybeacon.com> | 2011-02-04 16:55:39 +0000 |
---|---|---|
committer | Paul Belanger <paul.belanger@polybeacon.com> | 2011-02-04 16:55:39 +0000 |
commit | 3556e4c2d46e8f8d8480c08f9aae049a53f3a493 (patch) | |
tree | a3d1da6c10bc2730a0a579368a28f804a074c035 /apps/app_rpt.c | |
parent | 9f65acf33e3cab60a9a4e635fe00e6abf2ddc561 (diff) |
Replace ast_log(LOG_DEBUG, ...) with ast_debug()
(closes issue #18556)
Reported by: kkm
Review: https://reviewboard.asterisk.org/r/1071/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_rpt.c')
-rw-r--r-- | apps/app_rpt.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |