--- chan_dahdi.c 2008-12-22 21:56:29.000000000 +0100 +++ chan_dahdi_1.c 2009-02-16 09:42:02.000000000 +0100 @@ -5016,9 +5016,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 */