attempt to stop lamers from doing inband DTMFon compressed codecs

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3420 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara
2004-07-12 20:06:05 +00:00
parent 058f20179b
commit 423fd40090

2
dsp.c
View File

@@ -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);