Avaya 15-601063 Answering Machine User Manual


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