dahdi-linux/drivers/dahdi/wctdm24xxp
Shaun Ruffell 160edc8c9d wctdm24xxp: Fix FXO failure to detect battery CO disconnects.
In 2.6.2 I introduced an error in (41639330a "wctdm24xxp: Eliminate chance for
channel to be stuck in RED alarm.") which would get an FXO stuck in detecting an
ONHOOK event from the remote side.  An FXO port could go into the
BATTERY_DEBOUNCING_LOST_ALARM state and then back to the BATTERY_PRESENT state
without sending the dahdi_hooksig up to Asterisk.  Therefore, Asterisk would
never detect the state changes needed for a remote side disconnect.

This change adds two more states, BATTERY_DEBOUNCING_PRESENT_FROM_LOST_ALARM and
BATTERY_DEBOUNCING_LOST_FROM_PRESENT_ALARM so that the state machine does not
miss any needed transitions when going back to BATTERY_PRESENT or BATTERY_LOST
regardless of why the debounce was started.

Signed-off-by: Shaun Ruffell <sruffell@digium.com>
Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com>
(cherry picked from commit 244f621eb1)
2013-05-09 11:35:53 -05:00
..
base.c wctdm24xxp: Fix FXO failure to detect battery CO disconnects. 2013-05-09 11:35:53 -05:00
Kbuild wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
Makefile wct4xxp: Moving the transmit short detection behind debug module param. 2010-08-27 21:59:27 +00:00
wctdm24xxp.h wctdm24xxp: Fix FXO failure to detect battery CO disconnects. 2013-05-09 11:35:53 -05:00
xhfc.c wcte12xp, wctdm24xxp: Load VPMOCT032 firmware in background. 2011-06-28 22:29:00 +00:00
xhfc.h wctdm24xxp: Pass the pointer to struct wctdm_module directly instead of index. 2011-06-02 20:03:15 +00:00