projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd5a0e
)
Don't take digits in-band when in overlap dial mode
author
Mark Spencer
<markster@digium.com>
Fri, 9 Apr 2004 16:33:37 +0000
(16:33 +0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 9 Apr 2004 16:33:37 +0000
(16:33 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2668
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_zap.c
patch
|
blob
|
history
diff --git
a/channels/chan_zap.c
b/channels/chan_zap.c
index
c0af6cf
..
818a072
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-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;
}