7.1.1 VBScript Properties

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 call variables listed map to properties associated with the object:

$NAM

347(read-only). See Name Property

347.

$CLI

345(read-only). See CallingParty Property

345.

$RES

348(read-write). See Result Property

348.

$VAR

349(read-write). See Variable Property

349.

$SAV

349(read-write). See SavedResult Property

349.

$LOC

346(read-write).See Locale Property

346.

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

$QPOS

348(read-only). See PositionInQueue Property

348.

$QTIM

345(read-only) See EstimatedAnswer Property

345.

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

NewMsgs Property

347

Returns the count of new messages within the session’s mailbox.

OldMsgs Property

347

Returns the count of old messages within the session’s mailbox.

SavedMsgs Property

349

Returns the count of saved messages within the session’s mailbox.

LastAccessedMsg Property

346

Returns the name of the last recorded or accessed message.

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 Installation and Maintenance

Page 344

IP Office Release 6

15-601063 Issue 22e (16 May 2010)

Page 344
Image 344
Avaya 6 manual VBScript Properties