Don't take digits in-band when in overlap dial mode

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2668 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.0
Mark Spencer 21 years ago
parent cbd5a0e6bb
commit 639438836b

@ -3673,6 +3673,11 @@ struct ast_frame *zt_read(struct ast_channel *ast)
f = NULL;
}
} else if (f->frametype == AST_FRAME_DTMF) {
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;
}
/* DSP clears us of being pulse */
p->pulsedial = 0;
}

Loading…
Cancel
Save