mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-09 11:28:25 +00:00
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/branches/1.4@178445 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -73,6 +73,14 @@ clearglobalvars=no
|
|||||||
; that includes contexts within other contexts. The #include command works
|
; that includes contexts within other contexts. The #include command works
|
||||||
; in all asterisk configuration files.
|
; in all asterisk configuration files.
|
||||||
;#include "filename.conf"
|
;#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
|
; The "Globals" category contains global variables that can be referenced
|
||||||
; in the dialplan with the GLOBAL dialplan function:
|
; in the dialplan with the GLOBAL dialplan function:
|
||||||
|
|||||||
Reference in New Issue
Block a user