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");

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to