dect
/
asterisk
Archived
13
0
Fork 0

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:
markster 2004-04-09 16:33:37 +00:00
parent 4b47327292
commit 92f0707533
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}