[Asterisk-cvs] asterisk/doc README.configuration,1.1,1.2

markster at lists.digium.com markster at lists.digium.com
Tue Feb 8 18:11:13 CST 2005


Update of /usr/cvsroot/asterisk/doc
In directory mongoose.digium.com:/tmp/cvs-serv20930/doc

Modified Files:
	README.configuration 
Log Message:
Update documentation (bug #3527, take 2)


Index: README.configuration
===================================================================
RCS file: /usr/cvsroot/asterisk/doc/README.configuration,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- README.configuration	7 Feb 2005 22:38:19 -0000	1.1
+++ README.configuration	9 Feb 2005 00:11:32 -0000	1.2
@@ -7,7 +7,7 @@
 templates in configuration files, and use these as templates when we
 configure phones, voicemail accounts and queues.
 
-This changes are general to the configuration parser, and works in
+These changes are general to the configuration parser, and works in
 all configuration files. 
 
 General syntax
@@ -44,6 +44,26 @@
 
 No whitespace is allowed between the closing "]" and the parenthesis "(".
 
+Including other files
+---------------------
+In all of the configuration files, you may include the content of another
+file with the #include statement. The content of the other file will be
+included at the row that the #include statement occured.
+	
+	#include myusers.conf
+
+You may also include the output of a program with the #exec directive,
+if you enable it in asterisk.conf
+	
+In asterisk.conf, add the execincludes = yes statement in the options
+section:
+	[options]
+	execincludes=yes
+
+The exec directive is used like this:
+	
+	#exec /usr/local/bin/myasteriskconfigurator.sh
+
 
 Adding to an existing section
 -----------------------------




More information about the svn-commits mailing list