Справочник Пользователя для Avaya 15-601063

Скачать
Страница из 460
Voicemail Pro
Page 321
15-601063 Issue 20l (03 March 2009)
IP Office
Voicemail Pro Examples: Using VB Script
8.1.2.10 GetMailboxMessage Method
The GetMailboxMessage method is used to obtain a message within a mailbox.
Voice.GetMailboxMessage(
            mailbox
 As String,
            msgtype As String,
            index As Long,
As String
·
Parameters
·
mailbox - The mailbox to return messages for.
·
msgtype - The type of messages to return.
This can start with an N for new messages, O for old messages and S for saved messages.
·
index - The message to return.
·
Return Value 
The message at that position within the list (an empty string if end of list).
 
8.1.2.11 GetMailboxMessages Method
The GetMailboxMessages method is used to obtain the count of specific messages within a mailbox.
Voice.GetMailboxMessages(
            mailbox
 As String,
            msgtype As String
As Long
·
Parameters
·
mailbox - The mailbox to return message counts for.
·
msgtype - The type of messages to return counts for.
This can start with an N to obtain the number of new messages, O for old messages and S for saved
messages.
·
Return Value 
The number of messages of a particular type within the mailbox.