Pruning Services


#1

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.


#2

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

voip-info.org/wiki-Asterisk+ … dules.conf

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

noload => chan_iax2.so

and a list of modules may be found here:

voip-info.org/wiki/view/Asterisk+modules

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.