[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
Fri May 28 17:50:06 CDT 2010
A NOTE has been added to this issue.
======================================================================
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: acknowledged
Asterisk Version: SVN
JIRA: SWP-1505
Regression: No
Reviewboard Link:
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: 2010-05-28 17:50 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
======================================================================
----------------------------------------------------------------------
(0122640) svnbot (reporter) - 2010-05-28 17:50
https://issues.asterisk.org/view.php?id=14899#c122640
----------------------------------------------------------------------
Repository: asterisk
Revision: 266385
U trunk/UPGRADE.txt
U trunk/funcs/func_env.c
U trunk/main/asterisk.c
------------------------------------------------------------------------
r266385 | tilghman | 2010-05-28 17:50:05 -0500 (Fri, 28 May 2010) | 8
lines
Setup environment variables for the benefit of child processes and
disallow changing them.
(closes issue https://issues.asterisk.org/view.php?id=14899)
Reported by: jmls
Patches:
20090916__issue14899.diff.txt uploaded by tilghman (license 14)
Tested by: jmls
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=266385
Issue History
Date Modified Username Field Change
======================================================================
2010-05-28 17:50 svnbot Checkin
2010-05-28 17:50 svnbot Note Added: 0122640
======================================================================
More information about the asterisk-bugs
mailing list