[asterisk-bugs] [Asterisk 0010488]: r79747 breaks config in at least chan_iax2.c and chan_sip.c

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Aug 18 07:49:03 CDT 2007


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=10488 
====================================================================== 
Reported By:                jamesgolovich
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   10488
Category:                   Core/Configuration
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 79939 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-18-2007 02:21 CDT
Last Modified:              08-18-2007 07:49 CDT
====================================================================== 
Summary:                    r79747 breaks config in at least chan_iax2.c and
chan_sip.c
Description: 
I noticed that the patches in revision 79747 break chan_iax2.c and
chan_sip.c (and possibly others) when you reload without changing the
file.

For example, in chan_iax2.c set_config is called by reload_config after
everything has been destroyed.  So if the config is unchanged then nothing
will be loaded and you end up with an empty config.

If you just touch iax.conf before the reload it does enough to be changed.
 I was going to figure this out and submit a simple patch but its not as
trivial as I thought and I won't have time this weekend to work on it.

====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-18-07 07:49  Corydon76      Status                   new => assigned     
08-18-07 07:49  Corydon76      Assigned To               => Corydon76       
======================================================================




More information about the asterisk-bugs mailing list