5016,5018c5016,5020 < /* Don't accept in-band DTMF when in overlap dial mode */ < f->frametype = AST_FRAME_NULL; < f->subclass = 0; --- > if (!p->outgoing) { /* Don't accept DTMF in overlap only in incoming calls - Like case 7511 in chan_zap.c - short patch*/ > /* Don't accept in-band DTMF when in overlap dial mode */ > f->frametype = AST_FRAME_NULL; > f->subclass = 0; > }