aboutsummaryrefslogtreecommitdiffstats
path: root/dsp.c
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-07-12 20:06:05 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2004-07-12 20:06:05 +0000
commitfa35f11949c0f68ad9393ed80ff5eef7132b5d22 (patch)
treea72df7b10d08465c0c5299beec21fd9af4b9b8c5 /dsp.c
parentf50fbb0a7909eeacacb884e94eeeddfe094953b3 (diff)
attempt to stop lamers from doing inband DTMFon compressed codecs
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3420 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'dsp.c')
-rwxr-xr-xdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsp.c b/dsp.c
index 2f2662ee0..ed90188c6 100755
--- a/dsp.c
+++ b/dsp.c
@@ -1464,7 +1464,7 @@ struct ast_frame *ast_dsp_process(struct ast_channel *chan, struct ast_dsp *dsp,
shortdata[x] = AST_ALAW(odata[x]);
break;
default:
- ast_log(LOG_WARNING, "Unable to process inband DTMF on %d frames\n", af->subclass);
+ ast_log(LOG_WARNING, "Inband DTMF is not supported on codec %s. Use RFC2833\n", ast_codec2str(af->subclass));
return af;
}
silence = __ast_dsp_silence(dsp, shortdata, len, NULL);