[asterisk-commits] branch 1.2 - r7904
/branches/1.2/doc/README.variables
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Jan 9 12:37:51 CST 2006
Author: tilghman
Date: Mon Jan 9 12:37:50 2006
New Revision: 7904
URL: http://svn.digium.com/view/asterisk?rev=7904&view=rev
Log:
Update variable documentation to match the code
Modified:
branches/1.2/doc/README.variables
Modified: branches/1.2/doc/README.variables
URL: http://svn.digium.com/view/asterisk/branches/1.2/doc/README.variables?rev=7904&r1=7903&r2=7904&view=diff
==============================================================================
--- branches/1.2/doc/README.variables (original)
+++ branches/1.2/doc/README.variables Mon Jan 9 12:37:50 2006
@@ -558,25 +558,25 @@
only read in the dialplan. Writes to such variables are silently
ignored.
-${ACCOUNTCODE} * Account code (if specified)
+${ACCOUNTCODE} * Account code (if specified) (Deprecated; use ${CDR(accountcode)})
${BLINDTRANSFER} The name of the channel on the other side of a blind transfer
${BRIDGEPEER} Bridged peer
-${CALLERANI} * Caller ANI (PRI channels)
-${CALLERID} * Caller ID
-${CALLERIDNAME} * Caller ID Name only
-${CALLERIDNUM} * Caller ID Number only
+${CALLERANI} * Caller ANI (PRI channels) (Deprecated; use ${CALLERID(ani)})
+${CALLERID} * Caller ID (Deprecated; use ${CALLERID(all)})
+${CALLERIDNAME} * Caller ID Name only (Deprecated; use ${CALLERID(name)})
+${CALLERIDNUM} * Caller ID Number only (Deprecated; use ${CALLERID(num)})
${CALLINGANI2} * Caller ANI2 (PRI channels)
${CALLINGPRES} * Caller ID presentation for incoming calls (PRI channels)
${CALLINGTNS} * Transit Network Selector (PRI channels)
${CALLINGTON} * Caller Type of Number (PRI channels)
${CHANNEL} * Current channel name
${CONTEXT} * Current context
-${DATETIME} * Current date time in the format: DDMMYYYY-HH:MM:SS
+${DATETIME} * Current date time in the format: DDMMYYYY-HH:MM:SS (Deprecated; use ${STRFTIME(${EPOCH},,%d%m%Y-%H:%M:%S)})
${DB_RESULT} Result value of DB_EXISTS() dial plan function
-${DNID} * Dialed Number Identifier
+${DNID} * Dialed Number Identifier (Deprecated; use ${CALLERID(dnid)})
${EPOCH} * Current unix style epoch
${EXTEN} * Current extension
-${ENV(VAR)} * Environmental variable VAR
+${ENV(VAR)} Environmental variable VAR
${GOTO_ON_BLINDXFR} Transfer to the specified context/extension/priority
after a blind transfer (use ^ characters in place of
| to separate context/extension/priority when setting
@@ -585,12 +585,12 @@
${HINT} * Channel hints for this extension
${HINTNAME} * Suggested Caller*ID name for this extension
${INVALID_EXTEN} The invalid called extension (used in the "i" extension)
-${LANGUAGE} * Current language
+${LANGUAGE} * Current language (Deprecated; use ${LANGUAGE()})
${LEN(VAR)} * String length of VAR (integer)
${PRIORITY} * Current priority in the dialplan
${PRIREDIRECTREASON} Reason for redirect on PRI, if a call was directed
-${RDNIS} * Redirected Dial Number ID Service
-${TIMESTAMP} * Current date time in the format: YYYYMMDD-HHMMSS
+${RDNIS} * Redirected Dial Number ID Service (Deprecated; use ${CALLERID(rdnis)})
+${TIMESTAMP} * Current date time in the format: YYYYMMDD-HHMMSS (Deprecated; use ${STRFTIME(${EPOCH},,%Y%m%d-%H%M%S)})
${TRANSFER_CONTEXT} Context for transferred calls
${UNIQUEID} * Current call unique identifier
@@ -785,8 +785,8 @@
In addition, you can set your own extra variables with a traditional
-SetVAR(CDR(var)=val) to anything you want.
-
-Certain functional variables may be accessed with $(foo <args>). A list
+Set(CDR(var)=val) to anything you want.
+
+Certain functional variables may be accessed with ${foo(<args>)}. A list
of these functional variables may be found by typing "show functions"
at the Asterisk CLI.
More information about the asterisk-commits
mailing list