[Home]

Summary:ASTERISK-13639: #exec command needs minor documentation in extensions.conf
Reporter:John Todd (jtodd)Labels:
Date Opened:2009-02-24 13:24:39.000-0600Date Closed:2009-02-24 17:28:49.000-0600
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Documentation
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:It seems that the #exec command is sparsely documented (not at all?) and it seems too handy not to have anything at all in extensions.conf referencing it.

I include it as a text clipping, since it's just too small to justify a file attachment.

****** ADDITIONAL INFORMATION ******

--- extensions.conf.orig        2009-02-24 13:19:49.000000000 -0600
+++ extensions.conf     2009-02-24 13:22:15.000000000 -0600
@@ -106,7 +106,12 @@
; 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.
+;#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:
; ${GLOBAL(VARIABLE)}
Comments:By: Digium Subversion (svnbot) 2009-02-24 17:25:57.000-0600

Repository: asterisk
Revision: 178445

U   branches/1.4/configs/extensions.conf.sample

------------------------------------------------------------------------
r178445 | tilghman | 2009-02-24 17:25:57 -0600 (Tue, 24 Feb 2009) | 5 lines

Add section about the #exec command in configuration files.
(closes issue ASTERISK-13639)
Reported by: jtodd
Patch by: jtodd, with additional notes by tilghman (license 14)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=178445

By: Digium Subversion (svnbot) 2009-02-24 17:27:24.000-0600

Repository: asterisk
Revision: 178446

_U  trunk/
U   trunk/configs/extensions.conf.sample

------------------------------------------------------------------------
r178446 | tilghman | 2009-02-24 17:27:24 -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 ASTERISK-13639)
  Reported by: jtodd
  Patch by: jtodd, with additional notes by tilghman (license 14)
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=178446

By: Digium Subversion (svnbot) 2009-02-24 17:28:04.000-0600

Repository: asterisk
Revision: 178447

_U  branches/1.6.0/
U   branches/1.6.0/configs/extensions.conf.sample

------------------------------------------------------------------------
r178447 | tilghman | 2009-02-24 17:28:04 -0600 (Tue, 24 Feb 2009) | 19 lines

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 ASTERISK-13639)
    Reported by: jtodd
    Patch by: jtodd, with additional notes by tilghman (license 14)
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=178447

By: Digium Subversion (svnbot) 2009-02-24 17:28:48.000-0600

Repository: asterisk
Revision: 178448

_U  branches/1.6.1/
U   branches/1.6.1/configs/extensions.conf.sample

------------------------------------------------------------------------
r178448 | tilghman | 2009-02-24 17:28:48 -0600 (Tue, 24 Feb 2009) | 19 lines

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 ASTERISK-13639)
    Reported by: jtodd
    Patch by: jtodd, with additional notes by tilghman (license 14)
 ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=178448