mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 11:25:35 +00:00
The sample modules.conf explicitly loaded res_musiconhold.so. This is redundent as autoload=yes is already set. It causes warnings if res_musiconhold.so was not installed and results in an unexpected load if the admin disables autoload without remembering to remove the res_musiconhold load statement. Also remove reference to unknown module pbx_gtkconsole. Change-Id: Ib01888994d9f1364b14d3c9fb6ff96774a6e580a
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
;
|
|
; Asterisk configuration file
|
|
;
|
|
; Module Loader configuration file
|
|
;
|
|
|
|
[modules]
|
|
autoload=yes
|
|
;
|
|
; Any modules that need to be loaded before the Asterisk core has been
|
|
; initialized (just after the logger has been initialized) can be loaded
|
|
; using 'preload'. This will frequently be needed if you wish to map all
|
|
; module configuration files into Realtime storage, since the Realtime
|
|
; driver will need to be loaded before the modules using those configuration
|
|
; files are initialized.
|
|
;
|
|
; An example of loading ODBC support would be:
|
|
;preload => res_odbc.so
|
|
;preload => res_config_odbc.so
|
|
;
|
|
; Uncomment the following if you wish to use the Speech Recognition API
|
|
;preload => res_speech.so
|
|
;
|
|
; If you want Asterisk to fail if a module does not load, then use
|
|
; the "require" keyword. Asterisk will exit with a status code of 2
|
|
; if a required module does not load.
|
|
;
|
|
; require = chan_sip.so
|
|
; If you want you can combine with preload
|
|
; preload-require = res_odbc.so
|
|
;
|
|
;load => res_musiconhold.so
|
|
;
|
|
; Load one of: chan_oss, alsa, or console (portaudio).
|
|
; By default, load chan_oss only (automatically).
|
|
;
|
|
noload => chan_alsa.so
|
|
;noload => chan_oss.so
|
|
noload => chan_console.so
|
|
;
|