315 .

Voicemail Pro Examples: Using VB Script

8.1.1 VBScript Properties

8.1.1.1 Overview

The following properties can be accessed within VBScripts. Note that unless otherwise stated they are session based. The data is specific to a particular Voicemail Pro call and does not persist between calls.

Voicemail contains various state variables that are associated with a specific interaction with voicemail. The system variables listed map to properties associated with the object:

$NAM (read-only). For more information, see Name Property 314 .

$CLI (read-only). For more information, see CallingParty Property

312.

$RES (read-write). For more information, see Result Property

315.

$VAR (read-write). For more information, see Variable Property

316.

$SAV (read-write). For more information, see SavedResult Property

316.

$LOC (read-write).For more information, see Locale Property

313.

The following properties are specific to queued and still queued call flows only.

$QPOS (read-only).For more information, see PositionInQueue Property

$QTIM (read-only). For more information, see EstimatedAnswer Property

312.

The following properties are related to the messages within the mailbox.

NewMsgs Property – Returns the count of new messages within the session’s mailbox. For more information, see NewMsgs Property 314 .

OldMsgs Property – Returns the count of old messages within the session’s mailbox. For more information, see OldMsgs Property 314 .

SavedMsgs Property – Returns the count of saved messages within the session’s mailbox. For more information,

SavedMsgs Property

316.

LastAccessedMsg Property – Returns the name of the last recorded or accessed message. For more information, see LastAccessedMsg Property 313 .

Note: VB Scripting will only support variant types.

Internal Variables

Some of the variables that exist within Voicemail Pro can be split into smaller sections using a delimiter.

Example:

A CLI contains the number 01707364143. If the call flow references the variable as CLI@0,4 then the value 01707 will be returned as they are the first five numbers.

Voicemail Pro

Page 311

IP Office

15-601063 Issue 20l (03 March 2009)

Page 311
Image 311
Avaya 15-601063 manual VBScript Properties, Overview, Internal Variables