Vbscript Properties; Callingparty Property; Estimatedanswer Property; Lastaccessedmsg Property - Avaya IP Office Voicemail Pro Installation And Maintenance Manual

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

Advertisement

Voicemail Pro Installation and Maintenance Guide
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 i.e. the first five numbers.

VBScript Properties

CallingParty Property

The CallingParty property returns the caller id associated with the voicemail session used for VBS
interaction with Voicemail (equivalent to $CLI system variable).
Owning object: vmprov5.voicescript
String:
Set: This property is read-only.
Get: A String object containing the name of the calling party (or $CLI). For example:
Remarks: The CallingParty property is only valid for the current session to Voicemail.
Example
Sub Main (dlgid)
dim registration
Set Voice = CreateObject("vmprov5.voicescript")
registration = Voice.Register(dlgid)
if registration Then
end if
End Sub

EstimatedAnswer Property

The EstimatedAnswer property returns the $QTIM voicemail system variable. This is the user's
estimated time to answer within the queue in seconds and is only available for queued and still queued
call flows.
Owning object: vmprov5.voicescript
String:
Set: This property is read-only.
Get: A long containing the current value for $QTIM. For example:

LastAccessedMsg Property

The LastAccessedMsg property returns the name of the last recorded message. If the IP Office TUI is
used then this will also contain the name of the last played message.
Owning object: vmprov5.voicescript
String:
Set: This property is read-only.
Get: A string object containing the fully qualified name of the last played or recorded
message. For example:
Page 232
15-601063 Issue 15b (31 May 2006)
String = Voice.CallingParty
dim callerid
callerid = Voice.CallingParty
Long = Voice.EstimatedAnswer
String = Voice.LastAccessedMsg
Voicemail Pro Installation and Maintenance Guide
IP Office

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents