aboutsummaryrefslogtreecommitdiffstats
path: root/doc/README.variables
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-31 00:58:44 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-31 00:58:44 +0000
commit602ef7cb47f7be06f9256f845cad9eecf0255926 (patch)
tree0e82ae454fbd1b65375cf412df9902a086845388 /doc/README.variables
parent9a906e13bb8ee6687e9b2dd8aed2a00becf7a2c1 (diff)
Agent documentation changes to agents and verbose / debug fixes (bug #3158)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4618 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc/README.variables')
-rwxr-xr-xdoc/README.variables15
1 files changed, 13 insertions, 2 deletions
diff --git a/doc/README.variables b/doc/README.variables
index 409ce341f..f3ca27ed1 100755
--- a/doc/README.variables
+++ b/doc/README.variables
@@ -38,13 +38,13 @@ They are stored in the respective channel structure.
To set a variable to a particular value, do :
-;exten => 1,2,SetVar,varname=value
+ exten => 1,2,SetVar,varname=value
You can substitute the value of a variable everywhere using ${variablename}.
For example, to stringwise append $lala to $blabla and store result in $koko,
do:
-;exten => 1,2,SetVar,koko=${blabla}${lala}
+ exten => 1,2,SetVar,koko=${blabla}${lala}
There are also the following special variables:
@@ -85,6 +85,17 @@ ${ANSWEREDTIME} Time from dial to answer (seconds)
${DIALSTATUS} Status of the call, one of:
CHANUNAVAIL | CONGESTION | BUSY | NOANSWER | ANSWER | CANCEL
+The agent channel uses the following variables:
+${AGENTMAXLOGINTRIES} Set the maximum number of failed logins
+${AGENTUPDATECDR} Whether to update the CDR record with Agent channel data
+${AGENTGOODBYE} Sound file to use for "Good Bye" when agent logs out
+${AGENTACKCALL} Whether the agent should acknowledge the incoming call
+${AGENTAUTOLOGOFF} Auto logging off for an agent
+${AGENTWRAPUPTIME} Setting the time for wrapup between incoming calls
+${AGENTNUMBER} Agent number (username) set at login
+${AGENTSTATUS} Status of login ( fail | on | off )
+${AGENTEXTEN} Extension for logged in agent
+
There are two reference modes - reference by value and reference by name.
To refer to a variable with its name (as an argument to a function that
requires a variable), just write the name. To refer to the variable's value,