[asterisk-bugs] [Asterisk 0014899]: [patch] Add environment variables to #exec for config files, add new AST_BUILD dialplan function

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 16 19:16:28 CDT 2009


The following issue is now READY FOR TESTING. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14899 
====================================================================== 
Reported By:                jmls
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   14899
Category:                   Core/NewFeature
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.x Version Tracker
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-04-14 15:35 CDT
Last Modified:              2009-09-16 19:16 CDT
====================================================================== 
Summary:                    [patch] Add environment variables to #exec for
config files, add new AST_BUILD dialplan function
Description: 
This patch adds the following functionality

1) Makes several environment variables available to #exec config files

AST_SYSTEMNAME 
AST_BUILD_HOST
AST_BUILD_DATE
AST_BUILD_KERNEL
AST_BUILD_MACHINE
AST_BUILD_OS
AST_BUILD_USER
AST_VERSION

2) adds a new dialplan function AST_BUILD() to retrieve the above
variables in the dialplan
====================================================================== 

---------------------------------------------------------------------- 
 (0110851) tilghman (administrator) - 2009-09-16 19:16
 https://issues.asterisk.org/view.php?id=14899#c110851 
---------------------------------------------------------------------- 
Upon review, my suggestion is to make those variables available to all
child processes and to protect them from users overwriting them in the
parent process. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-16 19:16 tilghman       Note Added: 0110851                          
2009-09-16 19:16 tilghman       Status                   ready for review =>
ready for testing
======================================================================




More information about the asterisk-bugs mailing list