Voicemail Pro Installation and Maintenance Guide
Page 240
Voicemail Pro Installation and Maintenance Guide
15-601063 Issue 15b (31 May 2006)
IP Office
GetMessagePriority Method
The GetMessagePriority method is used to determine whether the message was left with priority.
Voice.GetMessagePriority(
mailbox As String,
message As String
) As Boolean
Parameters
mailbox - The mailbox that the message belongs to.
message - The message to query.
Return Value
True if the message was left with priority, otherwise False.
GetMessagePrivate Method
The GetMessagePrivate method is used to determine whether the message was left with privacy.
Voice.GetMessagePrivate(
mailbox As String,
message As String
) As Boolean
Parameters
mailbox - The mailbox that the message belongs to.
message - The message to query.
Return Value
True if the message was left with privacy, otherwise False.
GetMessageStatus Method
The GetMessageStatus method is used to obtain the state of the message within a mailbox.
Voice.GetMessageStatus(
mailbox As String,
message As String
) As String
Parameters
mailbox - The mailbox that the message belongs to.
message - The message to query. Note: The message name format should be
[Accounts]\mailbox\message. e.g. [Accounts]\Extn247\MSG00004.
Return Value
The state of the message within the mailbox. N for new, O for old, S for saved.
GetName Method
The GetName method is used to obtain the $NAM session variable.
Voice.GetName(
[dlgid As Long = 0]
) As String
Parameters
dlgid - The connection ID as passed in to the script.
Return Value
The value of the $NAM session variable associated with the specified voicemail session.