From f1860bc70b33d1d8038dcf2092ed395d35092cb8 Mon Sep 17 00:00:00 2001 From: markster Date: Wed, 23 Jun 2004 17:50:52 +0000 Subject: Increase ring debounce (bug #1899) git-svn-id: http://svn.digium.com/svn/zaptel/trunk@419 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- wcfxs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wcfxs.c') diff --git a/wcfxs.c b/wcfxs.c index c41a4f7..c04f12d 100755 --- a/wcfxs.c +++ b/wcfxs.c @@ -1249,7 +1249,7 @@ static inline void wcfxs_voicedaa_check_hook(struct wcfxs *wc, int card) 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); -- cgit v1.2.3