summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);