Make config framework able to reload module configs with multiple config files.
authorRichard Mudgett <rmudgett@digium.com>
Wed, 18 Sep 2013 17:15:53 +0000 (17:15 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 18 Sep 2013 17:15:53 +0000 (17:15 +0000)
commit28da6dc0a55160e9d77d8ca77958e77c803f7f6b
tree03515cd8056cd542e8988677ac9c8c3244d94b86
parent0e1d364fbd2ae586b67991957c4465d8bb2fcf3b
Make config framework able to reload module configs with multiple config files.

The config framework is supposed to be able to load configs that come from
multiple config files.  The principle example is chan_sip's sip.conf and
users.conf.  Unfortunately, it only does this correctly on initial load.
This patch causes the module's config to be reloaded entirely if any of
the config files change.

(closes issue ASTERISK-22009)
Reported by: Richard Mudgett

Review: https://reviewboard.asterisk.org/r/2859/

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@399352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/config_options.c