Voicemail Pro Page 333
15-601063 Issue 20l (03 March 2009)IP Office
Voicemail Pro Examples: Using VB Script
8.1.2.35 SetMailboxMessage Method
The SetMailboxMessage method is used to modify a message within a mailbox.
Voice.SetMailboxMessage(
mailbox As String,
message As String,
msgtype As String,
)
·Parameters
·mailbox - The mailbox that the return message belongs to.
·message - The message to modify. The message name format should be [Accounts]\mailbox\message. For
example [Accounts]\Extn247\MSG00004.
·msgtype - The new statue type for the message. This can start with an N for new, O for old and S for saved.
·Return Value
This method does not return a value.
8.1.2.36 SetRegister Method
The SetRegister method is used to store a string in one of the sixteen session data variables ($CP0 to $CP15).
Voice.SetRegister(
regnum As Long,
data As String,
[dlgid As Long = 0]
)
·Parameters
·regnum - Data register to use for storage (0-15).
·data - The data to store within this register.
·dlgid - The connection ID as passed in to the script.
·Return Value
This method does not return a value.