diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-27 01:59:00 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-27 01:59:00 +0000 |
commit | bf8f7c97441f0107e4116e72dc577b35bec097ff (patch) | |
tree | 7e7f8eaab9256f5342a0f9991927d2c2fb85f117 /channels/chan_zap.c | |
parent | 2f0559dad7c3363c0d3f9df54f3ccb3044c07f8c (diff) |
reset 'confirm' mode so DTMF can be used by Zap callees after confirming (bug #4083)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5509 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_zap.c')
-rwxr-xr-x | channels/chan_zap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/chan_zap.c b/channels/chan_zap.c index fb550f030..95fef3cd0 100755 --- 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"); |