[Asterisk-cvs] asterisk/channels chan_zap.c,1.108,1.109

markster at lists.digium.com markster at lists.digium.com
Mon Oct 6 00:08:32 CDT 2003


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

Modified Files:
	chan_zap.c 
Log Message:
Switch back to DTMF at the appropriate time


Index: chan_zap.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -d -r1.108 -r1.109
--- chan_zap.c	1 Oct 2003 16:05:40 -0000	1.108
+++ chan_zap.c	6 Oct 2003 05:09:42 -0000	1.109
@@ -4016,6 +4016,8 @@
 			zt_wink(p, index);
 		}
 		zt_enable_ec(p);
+		if ((p->sig == SIG_FEATDMF) || (p->sig == SIG_FEATB)) 
+			ast_dsp_digitmode(p->dsp,DSP_DIGITMODE_DTMF | p->dtmfrelax); 
 		if (ast_exists_extension(chan, chan->context, exten, 1, chan->callerid)) {
 			strncpy(chan->exten, exten, sizeof(chan->exten)-1);
 			ast_dsp_digitreset(p->dsp);




More information about the svn-commits mailing list