diff options
Diffstat (limited to 'main/dsp.c')
-rw-r--r-- | main/dsp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/dsp.c b/main/dsp.c index 3ea61fed0..03e429fd7 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) |