Gilles
2011-Feb-13 14:52 UTC
[asterisk-users] [modules.conf] Modules still loaded after "noload"
Hello I'm using Asterisk 1.4.20, and can't have Asterisk not load modules I don't need: ===============> cat modules.conf noload => codec_speex.c ip04*CLI> reload ip04*CLI> show modules codec_speex.so =============== Just to check, I added the actual filename (.so): ===============> cat modules.conf noload => codec_speex.c noload => codec_speex.so ip04*CLI> reload ip04*CLI> show modules codec_speex.so> /etc/init.d/asterisk stop > /etc/init.d/asterisk start > asterisk -vvvrip04*CLI> show modules codec_speex.so =============== Does someone know why Asterisk still loads modules even with the above lines in modules.conf? Thank you.
Leif Madsen
2011-Feb-13 15:36 UTC
[asterisk-users] [modules.conf] Modules still loaded after "noload"
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.
Seemingly Similar Threads
- RE: ext3 "noload" option to mount returning error in 2.4.9 & 2.4. 18 s eries kernel
- ext3 "noload" option to mount returning error in 2.4.9&2.4.18 ser ies kernel
- ext3 "noload" option to mount returning error in 2.4.9 & 2.4.18 s eries kernel
- [1.4] Still can't get it to call back
- Howto disable adsi in app_voicemail.c so I can noload *adsi*.so