[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
Fri Aug 22 10:35:22 CDT 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12071 
====================================================================== 
Reported By:                tzafrir
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12071
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
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-22 10:35 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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-22 10:35 tzafrir        Asterisk Version         1.4.18 => SVN       
2008-08-22 10:35 tzafrir        SVN Branch (only for SVN checkouts, not tarball
releases)N/A =>  1.4         
2008-08-22 10:35 tzafrir        SVN Revision (number only!) => 139387          
======================================================================




More information about the asterisk-bugs mailing list