[asterisk-bugs] [Asterisk 0010629]: Configuration file inclusion broken on reload

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Sep 3 11:52:25 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10629 
====================================================================== 
Reported By:                IgorG
Assigned To:                juggie
====================================================================== 
Project:                    Asterisk
Issue ID:                   10629
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!): 81430 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-02-2007 22:24 CDT
Last Modified:              09-03-2007 11:52 CDT
====================================================================== 
Summary:                    Configuration file inclusion broken on reload
Description: 
I latest SVN trunk i have this scenario:
0. I have main sip.conf with included files with templates and trunks.
1. I have start asterisk first time: all files loaded and all trunk
visible with `sip show peers`
2. I have reload chan_sip.so: module reloaded without reloading included
files (they remain unchanged) and now i haven't seen any trunk in `sip show
peers`
3. I have change file with trunk definition and reload: asterisk load new
sip_trunk.conf and show warning about that template `t_sipgate` does not
exists. No seep peers appear at all.

I think old behavior was broken when introduced not loading unchanged
configuration files.
====================================================================== 

---------------------------------------------------------------------- 
 jamesgolovich - 09-03-07 11:52  
---------------------------------------------------------------------- 
Don't have time to look into fixing this till later tonight (if needed),
but you can reproduce it by adding a #include in the sip.conf and stick
your test peer in it.

Once your sure its loaded and visible in your peers, a 'module reload
chan_sip.so' will remove it. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-03-07 11:52  jamesgolovich  Note Added: 0069858                          
======================================================================




More information about the asterisk-bugs mailing list