Index: channels/chan_sip.c =================================================================== --- channels/chan_sip.c (revision 374095) +++ channels/chan_sip.c (working copy) @@ -18981,6 +18981,12 @@ * otherwise use the body as the signal */ if (strcasecmp(c, "application/dtmf")) { const char *msg_body; + if ((ast_test_flag(&p->flags[0], SIP_DTMF) == SIP_DTMF_INBAND)) { //ALEC + ast_log(LOG_WARNING, "Ignoring DTMF_INFO message as DTMF_INBAND is set on " + "call %s\n", p->callid); + transmit_response(p, "200 OK", req); + return; + } if ( ast_strlen_zero(msg_body = get_body(req, "Signal", '=')) && ast_strlen_zero(msg_body = get_body(req, "d", '='))) {