Register Method; Setlocale Method; Setmailboxmessage Method - Avaya IP Office Voicemail Pro Installation And Maintenance Manual

Hide thumbs Also See for IP Office Voicemail Pro:
Table of Contents

Advertisement

Voicemail Pro Installation and Maintenance Guide

Register Method

The Register method is used to determine whether the voicemail session that was used to launch the
VB script is still active.
Voice.Register(
dlgid As Long
) As Boolean
Parameters
dlgid - An ID that is associated with the Voicemail connection. This is passed as a
parameter to the VB script.
Return Value
A Boolean variable indicating whether the specified voicemail session is still active.
Example
Sub Main (dlgid)
dim registration
Set Voice = CreateObject("vmprov5.voicescript")
registration = Voice.Register(dlgid)
if registration Then
end if
End Sub

SetLocale Method

The SetLocale method is used to set the $LOC session variable.
Voice.SetLocale(
locale As String,
)
Parameters
locale - The new value for the $LOC variable.
dlgid - The connection ID as passed in to the script.
Return Value
This method does not return a value.

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.
Page 248
15-601063 Issue 15b (31 May 2006)
do something.
[dlgid As Long = 0]
Voicemail Pro Installation and Maintenance Guide
IP Office

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents