[Asterisk-cvs] zaptel wcfxs.c,1.71,1.72

markster at lists.digium.com markster at lists.digium.com
Wed Jun 23 14:04:58 CDT 2004


Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv30105

Modified Files:
	wcfxs.c 
Log Message:
Increase ring debounce (bug #1899)


Index: wcfxs.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wcfxs.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- wcfxs.c	21 Jun 2004 22:11:59 -0000	1.71
+++ wcfxs.c	23 Jun 2004 17:50:52 -0000	1.72
@@ -1249,7 +1249,7 @@
 		res = wcfxs_getreg(wc, card, 5);
 		if ((res & 0x60) && wc->mod.fxo.battery[card]) {
 			wc->mod.fxo.ringdebounce[card] += (ZT_CHUNKSIZE * 4);
-			if (wc->mod.fxo.ringdebounce[card] >= ZT_CHUNKSIZE * 32) {
+			if (wc->mod.fxo.ringdebounce[card] >= ZT_CHUNKSIZE * 64) {
 				if (!wc->mod.fxo.wasringing[card]) {
 					wc->mod.fxo.wasringing[card] = 1;
 					zt_hooksig(&wc->chans[card], ZT_RXSIG_RING);




More information about the svn-commits mailing list