diff options
author | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-13 08:52:28 +0000 |
---|---|---|
committer | oej <oej@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-11-13 08:52:28 +0000 |
commit | 47269d650e33f82fc01661342600887e53b2c125 (patch) | |
tree | 367664686c054bc8c6ca330e9a4562a5d66384c2 /configs/modules.conf.sample | |
parent | 83a24475c256f6713ec228e8a3abd389d451ecc5 (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: http://svn.digium.com/svn/asterisk/trunk@229819 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/modules.conf.sample')
-rw-r--r-- | configs/modules.conf.sample | 8 |
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 |