From: Russell Bryant Date: Thu, 19 May 2005 03:13:31 +0000 (+0000) Subject: reset 'confirm' mode so DTMF can be used by Zap callees after confirming (bug #4083) X-Git-Tag: 1.0.11.1~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=888c329e654b020bfcf227a524879ebb04209cbc;p=thirdparty%2Fasterisk.git reset 'confirm' mode so DTMF can be used by Zap callees after confirming (bug #4083) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5730 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_zap.c b/channels/chan_zap.c index fb899d45fe..3f80f1234f 100755 --- a/channels/chan_zap.c +++ b/channels/chan_zap.c @@ -4044,6 +4044,8 @@ struct ast_frame *zt_read(struct ast_channel *ast) p->subs[index].f.subclass = AST_CONTROL_ANSWER; ast_setstate(ast, AST_STATE_UP); 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");