f35e8aafb0
If dahdi_cfg set the DAHDI_CONFIG_NOTOPEN setting on the span, which it does when the "yellow" flag is added to the span config line, then it was possible for the span to get stuck with DAHDI_ALARM_NOTOPEN (NOP). This is because the wcte13xp driver only updates the alarm state when the framer reports that the span alarm has changed. Therefore, unless the framer goes through an alarm transition, the fact that channels are opened was never noticed by alarm handling routine. Now check the alarm state directly when the first channel is opened, and the last channel is closed. Internal-Issue-ID: DAHDI-1103 Signed-off-by: Shaun Ruffell <sruffell@digium.com> Signed-off-by: Russ Meyerriecks <rmeyerriecks@digium.com> |
||
---|---|---|
.. | ||
dahdi |