From: Tilghman Lesher Date: Tue, 24 Feb 2009 23:27:23 +0000 (+0000) Subject: Merged revisions 178445 via svnmerge from X-Git-Tag: 1.6.2.0-beta1~136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fb540166d895371161fe578287319e24dd3255ab;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/trunk@178446 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/configs/extensions.conf.sample b/configs/extensions.conf.sample index 5e4de1dbc5..1be942b3d2 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: