diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-02-09 00:11:32 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-02-09 00:11:32 +0000 |
commit | fc43da92ccf3932db0137621b5761ae13a30d622 (patch) | |
tree | 85891e773c5ea8d15fce8f2039b83c4d97467307 /doc | |
parent | 68b2d23c850a75b9438badf60b616e9a8537066e (diff) |
Update documentation (bug #3527, take 2)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4987 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/README.configuration | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/doc/README.configuration b/doc/README.configuration index 5da7eddbe..e7dd2c148 100755 --- a/doc/README.configuration +++ b/doc/README.configuration @@ -7,7 +7,7 @@ addition to the realtime architecture, we now have the ability to create 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 @@ templates. Any object can be used as a template. 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 ----------------------------- |