[dahdi-commits] dahdi/linug.git tag "v2.6.2-rc1" created.

SVN commits to the DAHDI project dahdi-commits at lists.digium.com
Wed Nov 14 23:55:03 CST 2018


tag "v2.6.2-rc1" has been created
        at  41639330a59ea683cca0f6215a207a59a93f95bd (commit)

- Log -----------------------------------------------------------------
commit 41639330a59ea683cca0f6215a207a59a93f95bd
Author: Shaun Ruffell <sruffell at digium.com>
Date:   Thu Jan 24 11:37:29 2013 -0600

    wctdm24xxp: Eliminate chance for channel to be stuck in RED alarm.
    
    There was a code patch where it was possible to get stuck in RED ALARM on a
    channel when debouncing the battery states. The state transitions would look
    like this:
    
    BATTERY_PRESENT -> BATTERY_DEBOUNCING_LOST -> BATTERY_DEBOUNCING_LOST_ALARM --
    (send alarm up to asterisk) --> BATTERY_LOST -> BATTERY_DEBOUNCING_PRESENT ->
    BATTERY_DEBOUNCING_PRESENT_ALARM -> BATTERY_DEBOUNCING_LOST -> BATTERY_PRESENT
    
    In the above sequence there was never any transition from
    BATTERY_DEBOUNCING_PRESENT_ALARM to BATTERY_PRESENT so the alarm to Asterisk was
    never cleared and the channel stayed stuck.
    
    Now when you loose battery when in the BATTERY_DEBOUNCING_PRESENT_ALARM go all
    the way back to the BATTERY_LOST state instead of the BATTERY_DEBOUNCING_LOST
    state so that all the events are properly sent up.
    
    This fixes a regression introduced in 2.6.0 with commit (r10169 "wctdm24xxp: Use
    interval for debouncing FXO battery." 874b76bd223313e22a773725be63c1b4b64cb274).
    
    Internal-Issue-ID: DAHDI-1019
    Signed-off-by: Shaun Ruffell <sruffell at digium.com>
    (cherry picked from commit 8bf04348963b440b57e308fdec6cc57c64fcdd3f)
-----------------------------------------------------------------------


-- 
dahdi/linug.git



More information about the dahdi-commits mailing list