Pruning Services

Does anyone know how I can prune Asterisk services? We’re only interested in the SIP functionality, and would like to not start unecessary services like IAX etc. Is this configured at compile time? Can it be configured at run time? Thanks. - Doug.

You may ‘noload’ the modules you do not want in the /etc/modules.conf file: … dules.conf

For example, to keep IAX from loading you would need a line:

noload =>

and a list of modules may be found here:

or here:

/usr/lib/asterisk/modules (unless you have changed the default in /etc/asterisk/asterisk.conf)

There are some required modules, or Asterisk won’t start, so just be methodical on how you prune.