diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-06-23 17:50:52 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2004-06-23 17:50:52 +0000 |
commit | f1860bc70b33d1d8038dcf2092ed395d35092cb8 (patch) | |
tree | d9d6e86acb20fc586ff9fc6ee216b2d33264bb7f | |
parent | c1bf71f86c01bd2905fa03a1ee164637faba89ad (diff) |
Increase ring debounce (bug #1899)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@419 5390a7c7-147a-4af0-8ec9-7488f05a26cb
-rwxr-xr-x | wcfxs.c | 2 | ||||
-rwxr-xr-x | wctdm.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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); @@ -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); |