aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-24 23:28:03 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-02-24 23:28:03 +0000
commit3bcb39c7d746192c2042feb95a9dbf7f6acf9da3 (patch)
tree7cfd2e700bad0f5ed9379e8e611ea23ae526d0c2 /configs
parentf2660db5ccc0fdbe2821ff1412bbb8c0f1dbac13 (diff)
Merged revisions 178446 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r178446 | tilghman | 2009-02-24 17:27:23 -0600 (Tue, 24 Feb 2009) | 12 lines Merged revisions 178445 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r178445 | tilghman | 2009-02-24 17:25:24 -0600 (Tue, 24 Feb 2009) | 5 lines Add section about the #exec command in configuration files. (closes issue #14540) Reported by: jtodd Patch by: jtodd, with additional notes by tilghman (license 14) ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@178447 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/extensions.conf.sample8
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample
index 9d061d71a..b453ad791 100644
--- a/configs/extensions.conf.sample
+++ b/configs/extensions.conf.sample
@@ -106,6 +106,14 @@ clearglobalvars=no
; that includes contexts within other contexts. The #include command works
; in all asterisk configuration files.
;#include "filename.conf"
+;
+; You can execute a program or script that produces config files, and they
+; will be inserted where you insert the #exec command. The #exec command
+; works on all asterisk configuration files. However, you will need to
+; activate them within asterisk.conf with the "execincludes" option. They
+; are otherwise considered a security risk.
+;#exec /opt/bin/build-extra-contexts.sh
+;
; The "Globals" category contains global variables that can be referenced
; in the dialplan with the GLOBAL dialplan function: