[Asterisk-cvs] asterisk/channels chan_zap.c,1.429,1.430

kpfleming at lists.digium.com kpfleming at lists.digium.com
Tue Apr 26 21:09:11 CDT 2005


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

Modified Files:
	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.429
retrieving revision 1.430
diff -u -d -r1.429 -r1.430
--- chan_zap.c	22 Apr 2005 19:10:35 -0000	1.429
+++ chan_zap.c	27 Apr 2005 01:59:00 -0000	1.430
@@ -4318,6 +4318,8 @@
 			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");




More information about the svn-commits mailing list