Voicemail Pro Installation and Maintenance Guide
Page 250
Voicemail Pro Installation and Maintenance Guide
15-601063 Issue 15b (31 May 2006)
IP Office
SetVariable Method
The SetVariable method is used to set the $VAR session variable.
Voice.SetVariable(
variable As String,
[dlgid As Long = 0]
)
Parameters
variable - The new value for the $VAR variable.
dlgid - The connection ID as passed in to the script.
Return Value
This method does not return a value.
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.