asterisk-config/modules.conf

58 lines
1.6 KiB
Text
Raw Normal View History

2021-11-19 15:52:42 +08:00
;
; Asterisk configuration file
;
; Module Loader configuration file
;
[modules]
autoload=yes
;
; Any modules that need to be loaded before the Asterisk core has been
2022-11-09 18:41:39 +08:00
; initialized (just after the logger initialization) can be loaded
; using 'preload'. 'preload' forces a module and the modules it
; is known to depend upon to be loaded earlier than they normally get
; loaded.
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
; NOTE: There is no good reason left to use 'preload' anymore. It was
; historically required to preload realtime driver modules so you could
; map Asterisk core configuration files to Realtime storage.
; This is no longer needed.
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
;preload = your_special_module.so
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
; 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.
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
;require = chan_pjsip.so
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
; If you want you can combine with preload
; preload-require = your_special_module.so
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
;load = res_musiconhold.so
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
; Load one of: alsa, or console (portaudio).
; By default, load chan_console only (automatically).
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
noload = chan_alsa.so
;noload = chan_console.so
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
; Do not load res_hep and kin unless you are using HEP monitoring
; <http://sipcapture.org> in your network.
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
noload = res_hep.so
noload = res_hep_pjsip.so
noload = res_hep_rtcp.so
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
; Do not load chan_sip by default, it may conflict with res_pjsip.
noload = chan_sip.so
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
; Load one of the voicemail modules as they are mutually exclusive.
; By default, load app_voicemail only (automatically).
2021-11-19 15:52:42 +08:00
;
2022-11-09 18:41:39 +08:00
;noload = app_voicemail.so
noload = app_voicemail_imap.so
noload = app_voicemail_odbc.so
2021-11-19 15:52:42 +08:00
2022-11-09 18:41:39 +08:00
require = chan_pjsip.so