Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 309077) +++ channels/chan_sip.c (working copy) @@ -4031,6 +4031,12 @@ return; } + /* disable pointless warning about inband dtmf if faxdetect is enabled */ + if ((ast_test_flag(&p->flags[0], SIP_DTMF) != SIP_DTMF_INBAND) && + (ast_test_flag(&p->flags[0], SIP_DTMF) != SIP_DTMF_AUTO)) { + ast_dsp_disable_inband_dtmf_warning(p->dsp); + } + ast_dsp_set_features(p->dsp, features); if (global_relaxdtmf) { ast_dsp_set_digitmode(p->dsp, DSP_DIGITMODE_DTMF | DSP_DIGITMODE_RELAXDTMF); Index: include/asterisk/dsp.h =================================================================== --- include/asterisk/dsp.h (revision 309077) +++ include/asterisk/dsp.h (working copy) @@ -69,6 +69,9 @@ struct ast_dsp *ast_dsp_new(void); void ast_dsp_free(struct ast_dsp *dsp); +/*! \brief disable dtmf inband warnings */ +void ast_dsp_disable_inband_dtmf_warning(struct ast_dsp *dsp); + /*! \brief Set threshold value for silence */ void ast_dsp_set_threshold(struct ast_dsp *dsp, int threshold); Index: main/dsp.c =================================================================== --- main/dsp.c (revision 309077) +++ main/dsp.c (working copy) @@ -401,6 +401,11 @@ tone_detect_state_t ced_tone_state; }; +void ast_dsp_disable_inband_dtmf_warning(struct ast_dsp *dsp) +{ + dsp->display_inband_dtmf_warning = 0; +} + static void mute_fragment(struct ast_dsp *dsp, fragment_t *fragment) { if (dsp->mute_fragments >= ARRAY_LEN(dsp->mute_data)) {