Don't take digits in-band when in overlap dial mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2668 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
4b47327292
commit
92f0707533
|
@ -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;
|
||||
}
|
||||
|
|
Reference in New Issue