Avaya 6 IP Phone User Manual


 
Voicemail Pro Installation and Maintenance Page 353
15-601063 Issue 22e (16 May 2010)IP Office Release 6
Voicemail Pro Examples: Using VB Script
7.1.2.11 GetMailboxMessage Method
This method can be used to obtain a message within a mailbox.
Method
Voice.GetMailboxMessage(mailbox, msgtype, index)
Parameters
· mailbox (String)
The mailbox to which the message belongs.
· msgtype (String)
The type for the message(s). N for new, O for old and S for saved.
· index
The message to return.
Return Value
The message at that position within the list, an empty string if end of list. (String)
7.1.2.12 GetMailboxMessages Method
This method can be used to obtain the count of specific messages within a mailbox.
Method
Voice.GetMailboxMessages(mailbox, msgtype)
Parameters
· mailbox (String)
The mailbox to which the message belongs.
· msgtype (String)
The type for the message(s). N for new, O for old and S for saved.
Return Value
The number of messages of a particular type within the mailbox. (String)
7.1.2.13 GetMessagePriority Method
This method is used to determine whether the message was left with priority.
Method
Voice.GetMessagePriority(mailbox, message)
Parameters
· mailbox (String)
The mailbox to which the message belongs.
· message
The message to query.
Return Value
True if the message was left with priority, otherwise false. (Boolean)
7.1.2.14 GetMessagePrivate Method
This method can be used to determine whether the message was left with privacy.
Method
Voice.GetMessagePrivate(mailbox, message)
Parameters
· mailbox (String)
The mailbox to which the message belongs.
· message
The message to query.
Return Value
True if the message was left with privacy, otherwise false. (Boolean)