[Asterisk-cvs] asterisk/configs extconfig.conf.sample, 1.9, 1.10 modules.conf.sample, 1.5, 1.6

kpfleming at lists.digium.com kpfleming at lists.digium.com
Tue Jul 5 18:02:50 CDT 2005


Update of /usr/cvsroot/asterisk/configs
In directory localhost.localdomain:/tmp/cvs-serv1685/configs

Modified Files:
	extconfig.conf.sample modules.conf.sample 
Log Message:
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


Index: extconfig.conf.sample
===================================================================
RCS file: /usr/cvsroot/asterisk/configs/extconfig.conf.sample,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- extconfig.conf.sample	2 Jun 2005 21:42:49 -0000	1.9
+++ extconfig.conf.sample	5 Jul 2005 22:11:42 -0000	1.10
@@ -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
 ;

Index: modules.conf.sample
===================================================================
RCS file: /usr/cvsroot/asterisk/configs/modules.conf.sample,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- modules.conf.sample	26 Jun 2003 18:57:54 -0000	1.5
+++ modules.conf.sample	5 Jul 2005 22:11:42 -0000	1.6
@@ -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.




More information about the svn-commits mailing list