Summary:ASTERISK-10112: r79747 breaks config in at least chan_iax2.c and chan_sip.c
Reporter:James Golovich (jamesgolovich)Labels:
Date Opened:2007-08-18 02:21:02Date Closed:2007-08-18 08:34:52
Versions:Frequency of
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.
Comments:By: Digium Subversion (svnbot) 2007-08-18 08:34:52

Repository: asterisk
Revision: 79940

r79940 | tilghman | 2007-08-18 08:34:51 -0500 (Sat, 18 Aug 2007) | 2 lines

We weren't properly encapsulating the mtime ignores of config files (closes issue ASTERISK-10112)