Absolute minimal configuration (modules.conf help)


I would like to setup my box ( to load only the absolute necessary modules for a SIP device to connect and then a dialplan to dial outbound. All will use a ulaw codec. I am having troubles with this when I set autoload=no inside of modules.conf, but I really don’t need everything loading up. Autoload=yes fixes the problems when my devices try to dial but of course it also loads a pile of other modules. Any advice would be greatly appreciated.

If you set autoload=no, you have to manually define which module you want loaded when Asterisk starts.

Why? It’s not a normal requirement! I suspect you will have to experiment to find the minimum, and you may miss edge cases.

It certainly won’t produce significant memory savings.

Perhaps you could call it an experiment. I just don’t see the point in loading ~200 modules when I only require ~5. If autoload=yes is the only way out that will have to be how it is. There are posts about previous versions on voip-info ( voip-info.org/wiki/view/Asterisk+Slimming ) but nothing up to date. I don’t see any additional ports being opened so it may well not be an issue I need to pursue, but I still think it would be really cool if someone actually knew what it needed to run!