attempt to stop lamers from doing inband DTMFon compressed codecs
authorJeremy McNamara <jj@nufone.net>
Mon, 12 Jul 2004 20:06:05 +0000 (20:06 +0000)
committerJeremy McNamara <jj@nufone.net>
Mon, 12 Jul 2004 20:06:05 +0000 (20:06 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3420 65c4cc65-6c06-0410-ace0-fbb531ad65f3

dsp.c

diff --git a/dsp.c b/dsp.c
index 2f2662e..ed90188 100755 (executable)
--- 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);