[asterisk-commits] tilghman: branch 1.4 r178445 - /branches/1.4/configs/extensions.conf.sample
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Feb 24 17:25:24 CST 2009
Author: tilghman
Date: Tue Feb 24 17:25:24 2009
New Revision: 178445
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=178445
Log:
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)
Modified:
branches/1.4/configs/extensions.conf.sample
Modified: branches/1.4/configs/extensions.conf.sample
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/configs/extensions.conf.sample?view=diff&rev=178445&r1=178444&r2=178445
==============================================================================
--- branches/1.4/configs/extensions.conf.sample (original)
+++ branches/1.4/configs/extensions.conf.sample Tue Feb 24 17:25:24 2009
@@ -73,6 +73,14 @@
; 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:
More information about the asterisk-commits
mailing list