[Home]

Summary:ASTERISK-16261: [patch] handle DAHDI_EVENT_REMOVED on a D-Channel
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2010-06-17 16:50:06Date Closed:2011-07-26 14:42:47
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Codecs/codec_dahdi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) DAHDI_EVENT_REMOVED-dchan.patch
( 1) DAHDI_EVENT_REMOVED-dchan-1.6.2.patch
Description:When a DAHDI device is removed at run-time it sends the event DAHDI_EVENT_REMOVED on each channel. This is intended to signal the userspace program to close the respective file handle, as the driver of the device will need all of them closed to properly clean-up.

This event has long since been handled in chan_dahdi (chan_zap at the time). However the event that is sent on a D-Channel of a "PRI" (ISDN) span simply gets ignored.

This code adds handling for closing the file descriptor (and shutting down the span, while we're at it). It also adds a CLI command to help test it.



****** ADDITIONAL INFORMATION ******

This is a place-holder to also include patches vs. other branches.
Comments:By: Leif Madsen (lmadsen) 2010-06-24 09:15:17

Updated to Confirmed as there are patches here, but tzafrir has indicated these are not yet Ready for Testing.

By: Leif Madsen (lmadsen) 2011-07-26 14:42:42.344-0500

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.  Further information can be found at http://www.asterisk.org/developers/bug-guidelines