ENV()
Synopsis
Gets or sets the environment variable specified.
Description
Variables starting with AST_
are reserved to the system and may not be set.
Additionally, the following system variables are available as special built-in dialplan variables. These variables cannot be set or modified and are read-only.
EPOCH
- Current unix style epochSYSTEMNAME
- value of thesystemname
option fromasterisk.conf
ASTCACHEDIR
- value of theastcachedir
option fromasterisk.conf
ASTETCDIR
- value of theastetcdir
option fromasterisk.conf
ASTMODDIR
- value of theastmoddir
option fromasterisk.conf
ASTVARLIBDIR
- value of theastvarlib
option fromasterisk.conf
ASTDBDIR
- value of theastdbdir
option fromasterisk.conf
ASTKEYDIR
- value of theastkeydir
option fromasterisk.conf
ASTDATADIR
- value of theastdatadir
option fromasterisk.conf
ASTAGIDIR
- value of theastagidir
option fromasterisk.conf
ASTSPOOLDIR
- value of theastspooldir
option fromasterisk.conf
ASTRUNDIR
- value of theastrundir
option fromasterisk.conf
ASTLOGDIR
- value of theastlogdir
option fromasterisk.conf
ASTSBINDIR
- value of theastsbindir
option fromasterisk.conf
ENTITYID
- Global Entity ID set automatically, or fromasterisk.conf
Syntax
ENV(varname)
Arguments
varname
- Environment variable name
See Also
Import Version
This documentation was imported from Asterisk Version GIT-18-e006d2d