[Asterisk-cvs] asterisk/channels chan_zap.c,1.344.2.16,1.344.2.17

russell at lists.digium.com russell at lists.digium.com
Wed May 18 23:08:29 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv9821/channels

Modified Files:
      Tag: v1-0
	chan_zap.c 
Log Message:
reset 'confirm' mode so DTMF can be used by Zap callees after confirming (bug #4083)


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.344.2.16
retrieving revision 1.344.2.17
diff -u -d -r1.344.2.16 -r1.344.2.17
--- chan_zap.c	10 May 2005 01:39:50 -0000	1.344.2.16
+++ chan_zap.c	19 May 2005 03:13:31 -0000	1.344.2.17
@@ -4044,6 +4044,8 @@
 			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");




More information about the svn-commits mailing list