Application and Session Variables
Last updated
Last updated
For Standard Application Variables, application.lastresult$
holds information about the last recognition to occur within this application. It is an array of elements where each element, application.lastresult$[i]
, represents a possible result. The number of application.lastresult$
elements will always be greater than or equal to one and less than or equal to 5.
For Session Variables, there are three variables that allow you to use the caller's phone number, the phone number the caller dialed, and a unique ID for the session.
Application Variable
Description
Confidence level for this utterance. A value of 0.0 indicates minimum confidence, and a value of 1.0 indicates maximum confidence.
The raw string of words that were recognized for this interpretation.In the case of a DTMF grammar, this variable will contain the matched digit string.
The mode in which user input was provided: dtmf or voice.
Contains the interpretation, or the exact match to the active grammar.
Contains the last utterance if the global property recordutterance is set and audio was collected.
Contains the last utterance recording size in bytes.
Contains the last utterance duration size in milliseconds.
Variable
Description
The caller's phone number.
The phone number the caller dialed
A unique ID for each session. The ID consists of a six character server identifier (defaults to “000000”), followed by a semicolon, followed by a three digit channel identifier, followed by a timestamp of when the channel was ready to receive the next call.
Shadow variable that contains the call recording when using the recordcall property.
session.connection.callee_type
Used to determine who or what answers an outbound call.