Use correct function for name of codec (bug #2897)
authorMark Spencer <markster@digium.com>
Wed, 1 Dec 2004 21:41:21 +0000 (21:41 +0000)
committerMark Spencer <markster@digium.com>
Wed, 1 Dec 2004 21:41:21 +0000 (21:41 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4368 65c4cc65-6c06-0410-ace0-fbb531ad65f3

dsp.c

diff --git a/dsp.c b/dsp.c
index 2dec37b..db49efe 100755 (executable)
--- a/dsp.c
+++ b/dsp.c
@@ -1457,7 +1457,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, "Inband DTMF is not supported on codec %s. Use RFC2833\n", ast_codec2str(af->subclass));
+               ast_log(LOG_WARNING, "Inband DTMF is not supported on codec %s. Use RFC2833\n", ast_getformatname(af->subclass));
                return af;
        }
        silence = __ast_dsp_silence(dsp, shortdata, len, NULL);