[asterisk-users] [modules.conf] Modules still loaded after "noload"

Leif Madsen leif.madsen at asteriskdocs.org
Sun Feb 13 09:36:43 CST 2011


On 11-02-13 09:52 AM, Gilles wrote:
> I'm using Asterisk 1.4.20, and can't have Asterisk not load modules I
> don't need:
>
> Does someone know why Asterisk still loads modules even with the above
> lines in modules.conf?

It looks like you're loading Asterisk, which loads all the modules, then 
modifying modules.conf and just doing a reload at that point.

Try either restarting Asterisk to see if the modules still load (it shouldn't). 
Before doing the reload, I'd do a "module unload chan_speex.so" then do your 
"reload" and see if that works.

I'm not sure "reload" actually looks at modules.conf at that point. It probably 
just reloads all the modules you have in memory, rather than unloading 
everything, then parsing modules.conf and loading everything in there back into 
memory (which I think is what you're expecting).

Leif.



More information about the asterisk-users mailing list