From 2e868d323fae0ac2453665112b66379b87a4e9b9 Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Wed, 1 Dec 2004 21:41:21 +0000 Subject: [PATCH] Use correct function for name of codec (bug #2897) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4368 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- dsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dsp.c b/dsp.c index 2dec37be1d..db49efec43 100755 --- 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);