summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2009-11-13 08:52:28 +0000
committerOlle Johansson <oej@edvina.net>2009-11-13 08:52:28 +0000
commit75c015bfff61eae423b6b88882ddbe7052c09083 (patch)
tree367664686c054bc8c6ca330e9a4562a5d66384c2 /configs
parent8016a556364e4113b02059b53548b36c6d03bb8f (diff)
Add the capability to require a module to be loaded, or else Asterisk exits.
Review: https://reviewboard.asterisk.org/r/426/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@229819 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r--configs/modules.conf.sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/modules.conf.sample b/configs/modules.conf.sample
index 64767be31..38e33e1f4 100644
--- a/configs/modules.conf.sample
+++ b/configs/modules.conf.sample
@@ -21,6 +21,14 @@ autoload=yes
; 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
+;
; If you want, load the GTK console right away.
;
noload => pbx_gtkconsole.so