diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-05 22:11:43 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-05 22:11:43 +0000 |
commit | 97236cfc3232271c35e2abcf6884267e7495210f (patch) | |
tree | 32532d88234e6b8061d225229df28034faa45d2a /configs | |
parent | 855799ac773c6e205fc33676ff24c19c73500169 (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: http://svn.digium.com/svn/asterisk/trunk@6034 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rwxr-xr-x | configs/extconfig.conf.sample | 14 | ||||
-rwxr-xr-x | configs/modules.conf.sample | 10 |
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. |