Avaya 15-601063 User Manual

Page of 460
Voicemail Pro
Page 335
15-601063 Issue 20l (03 March 2009)
IP Office
Voicemail Pro Examples: Using VB Script
8.1.2.40 Speak Method
The Speak method is used to speak out the specified speech provided TTS has been licensed.
Voice.Speak(
            text As String,
            [wait As Boolean = True],
            [interruptables As String = “Any”],
            [dlgid As Long = 0]
) As String
·
Parameters
·
text - This contains the text to be spoken.
·
wait - This is an optional parameter specifying whether voicemail should return immediately or wait until the wave
file has been played first.
·
interruptables - This is for future development and should be left as default.
·
dlgid - The connection ID as passed in to the script.
·
Return Value 
The key press that was used to terminate the playback.