[asterisk-bugs] [Asterisk 0007256]: [patch][post 1.4] destroy channel on ZT_EVENT_REMOVED

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 12:44:15 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=7256 
====================================================================== 
Reported By:                tzafrir
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   7256
Category:                   Channels/chan_zap
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     closed
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 53911 
Disclaimer on File?:        Yes 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-31-2006 20:53 CDT
Last Modified:              06-07-2008 12:44 CDT
====================================================================== 
Summary:                    [patch][post 1.4] destroy channel on
ZT_EVENT_REMOVED
Description: 
The following patch adds uses a new zaptel event to signal the removal of a
zaptel channel. 

That event should signal that the hardware has been disconnected. Thus
Asterisk should close the open file descriptor for the channel to allow the
zaptel driver to clean up.

For the sake of simplicity I send this for each channel separately, as
each channel "holds" an open file. Though you actually almost always
disconnect complete spans.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0009242 ZT_EVENT_REMOVED addition causes failur...
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 12:44  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 2294

U   branches/1.4/zaptel.h

------------------------------------------------------------------------
r2294 | russell | 2008-06-07 12:44:12 -0500 (Sat, 07 Jun 2008) | 3 lines

Add a constant for ZT_EVENT_REMOVED to allow a driver to hint to userspace
that
a channel has been removed. (issue http://bugs.digium.com/view.php?id=7256,
tzafrir)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=2294 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 12:44  svnbot         Checkin                                      
06-07-08 12:44  svnbot         Note Added: 0088258                          
======================================================================




More information about the asterisk-bugs mailing list