summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-07-05 22:11:43 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-07-05 22:11:43 +0000
commit054317fb13d8c871759c07c4edd330bbb84aa4d5 (patch)
tree32532d88234e6b8061d225229df28034faa45d2a /configs
parent18cf6ee46a8cc447a38b0ff03e5bd593d567782c (diff)
add support for 'early loading' modules, so that nearly all configuration files can be read from Realtime storage
add warning for when file mapping is found but the engine is not available add warning for trying to map 'logger.conf', since it cannot be reliably mapped git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6034 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rwxr-xr-xconfigs/extconfig.conf.sample14
-rwxr-xr-xconfigs/modules.conf.sample10
2 files changed, 23 insertions, 1 deletions
diff --git a/configs/extconfig.conf.sample b/configs/extconfig.conf.sample
index 56ca2d117..1cf923fb3 100755
--- a/configs/extconfig.conf.sample
+++ b/configs/extconfig.conf.sample
@@ -18,7 +18,19 @@
;uncomment to load queues.conf via the odbc engine.
;
;queues.conf => odbc,asterisk,ast_config
-
+;
+; The following files CANNOT be loaded from Realtime storage:
+; asterisk.conf
+; extconfig.conf (this file)
+; logger.conf
+;
+; Additionally, the following files cannot be loaded from
+; Realtime storage unless the storage driver is loaded
+; early using 'preload' statements in modules.conf:
+; manager.conf
+; cdr.conf
+; rtp.conf
+;
;
; Realtime configuration engine
;
diff --git a/configs/modules.conf.sample b/configs/modules.conf.sample
index 8dcee358c..7162b72da 100755
--- a/configs/modules.conf.sample
+++ b/configs/modules.conf.sample
@@ -7,6 +7,16 @@
[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
+;
; If you want, load the GTK console right away.
; Don't load the KDE console since
; it's not as sophisticated right now.