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.

Voicemail Pro

Page 325

IP Office

15-601063 Issue 20l (03 March 2009)

Page 325
Image 325
Avaya 15-601063 manual GetSavedMsgs Method, GetSavedResult Method, GetVariable Method