--- chan_dahdi.c 2008-08-26 18:49:57.000000000 +0200 +++ chan_dahdirtk.c 2009-02-25 15:51:23.000000000 +0100 @@ -5013,9 +5013,11 @@ } else if (f->frametype == AST_FRAME_DTMF) { #ifdef HAVE_PRI if (!p->proceeding && p->sig==SIG_PRI && p->pri && p->pri->overlapdial) { - /* 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; + } } #endif /* DSP clears us of being pulse */