summaryrefslogtreecommitdiff
path: root/wcfxs.c
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-06-23 17:50:52 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2004-06-23 17:50:52 +0000
commitf1860bc70b33d1d8038dcf2092ed395d35092cb8 (patch)
treed9d6e86acb20fc586ff9fc6ee216b2d33264bb7f /wcfxs.c
parentc1bf71f86c01bd2905fa03a1ee164637faba89ad (diff)
Increase ring debounce (bug #1899)
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@419 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wcfxs.c')
-rwxr-xr-xwcfxs.c2
1 files changed, 1 insertions, 1 deletions
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);