Avaya 15-601063 Manuel D’Utilisation

Page de 460
Voicemail Pro
Page 311
15-601063 Issue 20l (03 March 2009)
IP Office
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:
·
.
·
.
·
$RES – (read-write). For more information, see 
.
·
$VAR – (read-write). For more information, see 
.
·
$SAV – (read-write). For more information, see 
.
·
$LOC – (read-write).For more information, see 
.
 
The following properties are specific to queued and still queued call flows only.
·
.
·
.
 
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
.
·
OldMsgs Property – Returns the count of old messages within the session’s mailbox. For more information, see
.
·
SavedMsgs Property – Returns the count of saved messages within the session’s mailbox. For more information,
.
·
LastAccessedMsg Property – Returns the name of the last recorded or accessed message. For more information,
see 
.
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.
 
314
312
315
316
316
313
315
312
314
314
316
313