summaryrefslogtreecommitdiff
path: root/channels/console_gui.c
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2008-05-21 02:20:31 +0000
committerMark Michelson <mmichelson@digium.com>2008-05-21 02:20:31 +0000
commit46e68c36b6a04365bb12e23be60694d95f1d97fa (patch)
treec540b0d9216288860c221fac6d6ddcf03d4b9593 /channels/console_gui.c
parent6d16c8915eae96b554d5c8e9432683b894479564 (diff)
Be sure that we cache included files for each source file which loads
a configuration file. As it was, only the first did so. This led to a problem if the included file was changed (but not the configuration file which includes it) and the second source file attempted to reload the configuration. It would not see that the included file had changed. In this particular example, res_phoneprov and chan_sip both loaded sip.conf, which included a file call sip.peers.conf. Since res_phoneprov was the first to load sip.conf, only it cached the fact that sip.conf included sip.peers.conf. If sip.peers.conf were changed and sip.conf were not and a sip reload were issued (meaning that chan_sip attempts to reload sip.conf only if it and its included files have changed) the changes made to sip.peers.conf would not be seen and therefore no action would be taken. (closes issue #12693) Reported by: marsosa git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@117367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/console_gui.c')
0 files changed, 0 insertions, 0 deletions