aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-02-10 07:21:26 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-02-10 07:21:26 +0000
commit2328db201b83b411b630f9dc51342725f642de9d (patch)
tree4b21709f6b56558ef99196e71f752b6d0e43ca45 /doc
parent4825cfc40935b86bc446ad312f6c00f0414cb395 (diff)
Add comment information (bug #3537)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4999 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/README.configuration36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/README.configuration b/doc/README.configuration
index e7dd2c148..81f607ba8 100755
--- a/doc/README.configuration
+++ b/doc/README.configuration
@@ -44,6 +44,42 @@ templates. Any object can be used as a template.
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