mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +00:00
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:
2
dsp.c
2
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);
|
||||
|
Reference in New Issue
Block a user