diff --git a/dsp.c b/dsp.c index 784365c155..36401aad5a 100755 --- a/dsp.c +++ b/dsp.c @@ -1465,7 +1465,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);