[asterisk-bugs] [Asterisk 0012071]: [patch] chan_zap fails to close file descriptors in case of an error
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Aug 26 10:47:56 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12071
======================================================================
Reported By: tzafrir
Assigned To: jpeeler
======================================================================
Project: Asterisk
Issue ID: 12071
Category: Channels/chan_zap
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
Asterisk Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 139387
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-02-26 03:47 CST
Last Modified: 2008-08-26 10:47 CDT
======================================================================
Summary: [patch] chan_zap fails to close file descriptors in
case of an error
Description:
Suppose I have the following zapata.conf:
[channels]
signalling = fxo_ls
channel => 1-8
But my zaptel.conf is actually:
fxoks=1-8
Asterisk would complain of incorrect signalling. But will also leave
zaptel channel 1 open.
If that channel would have been closed, I could have resolved the problem
by:
1. fix my configuration
2. unmodule unload chan_zap.so
3. module load chan_zap.so
But the left-over open channels require me to fully restart Asterisk.
======================================================================
----------------------------------------------------------------------
(0091743) svnbot (reporter) - 2008-08-26 10:47
http://bugs.digium.com/view.php?id=12071#c91743
----------------------------------------------------------------------
Repository: asterisk
Revision: 140056
U branches/1.4/channels/chan_dahdi.c
------------------------------------------------------------------------
r140056 | jpeeler | 2008-08-26 10:47:55 -0500 (Tue, 26 Aug 2008) | 9 lines
(closes issue http://bugs.digium.com/view.php?id=12071)
Reported by: tzafrir
Patches:
dahdi_close.diff uploaded by tzafrir (license 46)
Tested by: tzafrir, jpeeler
This patch fixes closing open file descriptors in the case of an error.
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=140056
Issue History
Date Modified Username Field Change
======================================================================
2008-08-26 10:47 svnbot Note Added: 0091743
======================================================================
More information about the asterisk-bugs
mailing list