Vbscript; Vb Script Action; Properties - Avaya IP Office Voicemail Pro Installation And Maintenance Manual

Hide thumbs Also See for IP Office Voicemail Pro:
Table of Contents

Advertisement

VBScript

VB Script Action

This action allows an administrator to construct call flow logic via VB-Scripting. A number of
predefined methods and system variables are available. The Syntax Check button can be used to verify
any scripting that is added.
This action has two possible results (Success or Failure) for which connections to subsequent actions
can be made. The results are based on the scripting entered in the Specific tab.
Specific Tab
Enter VBScript
In the Script area enter the VB-Script as required. A script can contain a maximum of 1000 characters. A
script must end with a carriage (CR) return line feed (LF). If a script does not already finish with these
characters, the VB Script syntax parser that Voicemail Pro uses adds them to terminate a script.
Details of the System variables and COM methods that are supported are accessible by right clicking in
the VB Script area.

Properties

The following properties can be accessed within VBScripts. Note that unless otherwise stated they are
session based, ie. the data is specific to a particular call Voicemail Pro call and does not persist between
calls.
Voicemail contains various state variables that are associated with a specific interaction with voicemail.
These include the caller id, name of the mailbox, etc. The following system variables map to properties
associated with the object:
$CLI – CallingParty Property (read-only).
$LOC – Locale Property (read-write).
$NAM – Name Property (read-only).
$RES – Result Property (read-write).
$SAV – SavedResult Property (read-write).
$VAR – Variable Property (read-write).
The following properties specific to queued and still queued call flows only, for example main.Queued
and main.StillQueued.
$QPOS – PositionInQueue Property (read-only).
$QTIM – EstimatedAnswer Property (read-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.
OldMsgs Property – Returns the count of old messages within the session's mailbox.
SavedMsgs Property – Returns the count of saved messages within the session's mailbox.
LastAccessedMsg Property – Returns the name of the last recorded or accessed message.
Note: VB Scripting will only support variant types.
Voicemail Pro Installation and Maintenance Guide
IP Office
15-601063 Issue 15b (31 May 2006)
Page 231

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents