[Asterisk-cvs] asterisk/doc README.variables,1.23,1.24
markster at lists.digium.com
markster at lists.digium.com
Thu Dec 30 20:04:05 CST 2004
Update of /usr/cvsroot/asterisk/doc
In directory mongoose.digium.com:/tmp/cvs-serv29691/doc
Modified Files:
README.variables
Log Message:
Agent documentation changes to agents and verbose / debug fixes (bug #3158)
Index: README.variables
===================================================================
RCS file: /usr/cvsroot/asterisk/doc/README.variables,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- README.variables 15 Dec 2004 19:59:53 -0000 1.23
+++ README.variables 31 Dec 2004 00:58:44 -0000 1.24
@@ -38,13 +38,13 @@
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 @@
${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,
More information about the svn-commits
mailing list