]> git.ipfire.org Git - thirdparty/asterisk.git/commit
loader: Process dependencies for built-in modules.
authorCorey Farrell <git@cfware.com>
Thu, 26 Jul 2018 17:52:46 +0000 (13:52 -0400)
committerCorey Farrell <git@cfware.com>
Thu, 26 Jul 2018 19:29:18 +0000 (14:29 -0500)
commit709f4b81e70191e21fa2bcaea1db0ef656fa2aff
treeee1196e79967aa03a84ce20de05bdcc308b963c0
parent7e0e6fd123dcaefc38d77a0a0948c8432995cfd8
loader: Process dependencies for built-in modules.

With the new module loader it was missed that built-in modules never
parsed dependencies from mod->info into vectors of mod.  This caused
manager to be initialized before acl (named_acl).  If manager.conf
used any named ACL's they would not be found and result in no ACL being
applied to the AMI user.

In addition to the manager ACL fix this adds "extconfig" to all builtin
modules which support realtime configuration.  This only matters if one
of the builtin modules is configured with 'preload', depending on
"extconfig" will cause config.c to automatically be initialize during
the preload stage.

Change-Id: I482ed6bca6c1064b05bb538d7861cd7a4f02d9fc
15 files changed:
main/cdr.c
main/cel.c
main/dnsmgr.c
main/dsp.c
main/enum.c
main/features.c
main/http.c
main/indications.c
main/loader.c
main/logger.c
main/manager.c
main/named_acl.c
main/plc.c
main/sounds.c
main/udptl.c