[Asterisk-cvs] asterisk/doc README.configuration,1.2,1.3
markster at lists.digium.com
markster at lists.digium.com
Thu Feb 10 01:21:14 CST 2005
Update of /usr/cvsroot/asterisk/doc
In directory mongoose.digium.com:/tmp/cvs-serv29704/doc
Modified Files:
README.configuration
Log Message:
Add comment information (bug #3537)
Index: README.configuration
===================================================================
RCS file: /usr/cvsroot/asterisk/doc/README.configuration,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- README.configuration 9 Feb 2005 00:11:32 -0000 1.2
+++ README.configuration 10 Feb 2005 07:21:26 -0000 1.3
@@ -44,6 +44,42 @@
No whitespace is allowed between the closing "]" and the parenthesis "(".
+Comments
+--------
+All lines that starts with semi-colon ";" is treated as comments
+and is not parsed.
+
+The ";--" is a marker for a multi-line comment. Everything after
+that marker will be treated as a comment until the end-marker "--;"
+is found. Parsing begins directly after the end-marker.
+
+ ;This is a comment
+ label = value
+ ;-- This is
+ a comment --;
+
+ ;-- Comment --; exten=> 1000,1,dial(SIP/lisa)
+
+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
+
Including other files
---------------------
In all of the configuration files, you may include the content of another
More information about the svn-commits
mailing list