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:
a1d24f7
)
reset 'confirm' mode so DTMF can be used by Zap callees after confirming (bug #4083)
author
Kevin P. Fleming
<kpfleming@digium.com>
Wed, 27 Apr 2005 01:59:00 +0000
(
01:59
+0000)
committer
Kevin P. Fleming
<kpfleming@digium.com>
Wed, 27 Apr 2005 01:59:00 +0000
(
01:59
+0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5509
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
fb550f0
..
95fef3c
100755
(executable)
--- a/
channels/chan_zap.c
+++ b/
channels/chan_zap.c
@@
-4318,6
+4318,8
@@
struct ast_frame *zt_read(struct ast_channel *ast)
p->subs[index].f.frametype = AST_FRAME_CONTROL;
p->subs[index].f.subclass = AST_CONTROL_ANSWER;
f = &p->subs[index].f;
+ /* Reset confirmanswer so DTMF's will behave properly for the duration of the call */
+ p->confirmanswer = 0;
} else if (p->callwaitcas) {
if ((f->subclass == 'A') || (f->subclass == 'D')) {
ast_log(LOG_DEBUG, "Got some DTMF, but it's for the CAS\n");