Voicemail Pro Page 325
15-601063 Issue 20l (03 March 2009)IP Office
Voicemail Pro Examples: Using VB Script
8.1.2.21 GetSavedMsgs MethodThe 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.
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.
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.