Voicemail Pro Installation and Maintenance Guide
Page 242
Voicemail Pro Installation and Maintenance Guide
15-601063 Issue 15b (31 May 2006)
IP Office
GetResult Method
The GetResult method is used to obtain the $RES session variable.
Voice.GetResult(
[dlgid As Long = 0]
) As String
Parameters
dlgid - The connection ID as passed in to the script.
Return Value
The value of the $RES session variable associated with the specified voicemail session.
GetSavedMsgs Method
The GetSavedMsgs method is used to obtain the number of saved messages contained within the
session
’
s mailbox.
Voice.GetSavedMsgs (
[dlgid As Long = 0]
) As Long
Parameters
dlgid - The connection ID as passed in to the script.
Return Value
The number of saved messages contained within the session
’
s mailbox.
GetSavedResult Method
The GetSavedResult method is used to obtain the $SAV session variable.
Voice.GetSavedResult(
[dlgid As Long = 0]
) As String
Parameters
dlgid - The connection ID as passed in to the script.
Return Value
The value of the $SAV session variable associated with the specified voicemail session.
GetVariable Method
The GetVariable method is used to obtain the $VAR session variable.
Voice.GetVariable(
[dlgid As Long = 0]
) As String
Parameters
dlgid - The connection ID as passed in to the script.
Return Value
The value of the $VAR session variable associated with the specified voicemail session.