summaryrefslogtreecommitdiff
path: root/dsp.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-12-01 21:41:21 +0000
committerMark Spencer <markster@digium.com>2004-12-01 21:41:21 +0000
commit2e868d323fae0ac2453665112b66379b87a4e9b9 (patch)
tree67db5c407d35f0bac3f1a040a012481dd964493f /dsp.c
parent55b8c48960c13cc9cc80df2b726718cc65b7f41e (diff)
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
Diffstat (limited to 'dsp.c')
-rwxr-xr-xdsp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsp.c b/dsp.c
index 2dec37be1..db49efec4 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);