[dahdi-commits] sruffell: branch linux/2.6 r10481 - /linux/branches/2.6/drivers/dahdi/wctdm24...

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Thu Mar 15 10:03:31 CDT 2012


Author: sruffell
Date: Thu Mar 15 10:03:27 2012
New Revision: 10481

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=10481
Log:
wctdm24xxp: Shorten RINGOFF debounce interval from 512ms to 128ms.

In commit r10168 "wctdm24xxp: Use time interval for debouncing FXO ring
detect" [1], I inadvertently changed the debounce interval of the RINGOFF
event from 128ms to 512ms. The result was a potential failure to detect CID,
depending on line conditions, since Asterisk would bump the rx gains on the
channel in the middle of the CID spill as opposed to before the CID spill.

This fixes a regression first introduced in DAHDI-Linux 2.6.0.

[1] http://svnview.digium.com/svn/dahdi?view=revision&revision=10168

Internal-Issue-ID: DAHDI-951
Reported-and-Tested-by: Jack Wilson <ljwilson at digitalav.com>
Signed-off-by: Shaun Ruffell <sruffell at digium.com>

Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=10473

Modified:
    linux/branches/2.6/drivers/dahdi/wctdm24xxp/base.c

Modified: linux/branches/2.6/drivers/dahdi/wctdm24xxp/base.c
URL: http://svnview.digium.com/svn/dahdi/linux/branches/2.6/drivers/dahdi/wctdm24xxp/base.c?view=diff&rev=10481&r1=10480&r2=10481
==============================================================================
--- linux/branches/2.6/drivers/dahdi/wctdm24xxp/base.c (original)
+++ linux/branches/2.6/drivers/dahdi/wctdm24xxp/base.c Thu Mar 15 10:03:27 2012
@@ -1904,7 +1904,7 @@
 		if (!is_fxo_ringing(fxo)) {
 			set_ring(fxo, DEBOUNCING_RINGOFF);
 			fxo->ringdebounce_timer =
-					wc->framecount + ringdebounce / 2;
+					wc->framecount + ringdebounce / 8;
 		}
 		break;
 	case DEBOUNCING_RINGOFF:




More information about the dahdi-commits mailing list