|
||
| Session variable | Description |
| telephone.ani | ANI digits. |
| telephone.dnis | DNIS digits. |
| telephone.iidigits | Information Indicator Digits. Information about the originating line (e.g. payphone, cellular service, special operator handling, prison) of the caller. |
| telephone.rdnis | The number from which a call diversion or transfer was invoked. |
| telephone.redirect_reason | Will be set to one of the following strings if rdnis is defined: "unknown", "user-busy", "no-answer", "unavailable", "unconditional", "time-of-day", "do-not-disturb", "deflection", "follow-me", "out-of-service", "away". |
| telephone.uui | User to User Information. A user-defined field in ISDN. |
Some types of dialog item have
a shadow variable which is named $itemname, where itemname is
specified by the name attribute. Following are the properties of
the shadow variable.
| Item | Property | Description |
| <field> | confidence | Estimate of the probability of a correct match by the speech recognizer, in the range 0.0 to 1.0. |
| <field> | inputmode | "dtmf", "speech" or "voice" to indicate whether touch-tone or speech input filled the field. "voice" and "speech" are synonymous, same as the mode attribute of the <grammar> tag if applicable. |
| <field> | utterance | Text form of the recognizer match. Spelling and punctuation (e.g. whether numbers are digits or words) will be browser-dependent. |
| <record> | duration | Duration of the recording in milliseconds. |
| <record> | size | Size of the recording in bytes. This is the raw audio data, it does not include any file header. |
| <record> | termchar | The touch-tone digit which terminated the recording or the ECMAScript special value null if the recording terminated for some other reason. |
| <transfer> | duration | Time from starting to dial until the call was answered in seconds. |
|