diff --git a/main/dsp.c b/main/dsp.c index 3ea61fed0a0855a73feff4b360c7bb4ef40e46ed..03e429fd766d8adddd6e00384b79539c6b0ab43c 100644 --- a/main/dsp.c +++ b/main/dsp.c @@ -1595,6 +1595,9 @@ struct ast_dsp *ast_dsp_new_with_rate(unsigned int sample_rate) void ast_dsp_set_features(struct ast_dsp *dsp, int features) { dsp->features = features; + if (!(features & DSP_FEATURE_DIGIT_DETECT)) { + dsp->display_inband_dtmf_warning = 0; + } } void ast_dsp_free(struct ast_dsp *dsp)