Avaya 15-601063 Answering Machine User Manual


 
Voicemail Pro Page 317
15-601063 Issue 20l (03 March 2009)IP Office
Voicemail Pro Examples: Using VB Script
8.1.2 VBScript Methods
8.1.2.1 ForwardMsg Method
The ForwardMsg method is used to forward a file or message to other mailboxes.
Voice.ForwardMsg(
file As String,
mailboxes As String,
ident As String
)
· Parameters
· file - This contains the name of the message file to be forwarded. The following formats are allowable:
· [GREETING]\greeting
Forwards the greeting stored within the greetings directory (the .WAV extension is automatically appended).
· [ACCOUNTS]\mailbox\message
Forwards the message stored within the specified mailbox (the .WAV extension is automatically appended).
· [CAMPAIGN]\campaign\message
Forwards a campaign message stored within the specified campaign (the .WAV extension is automatically
appended).
· If the fully qualified path is specified (drive:\path\file) then the full specified pathname is used otherwise the file is
relative to the WAVS directory.
· mailboxes - The list of mailboxes to forward the message to (separated by non digits, e.g. 202 203 204).
· ident - The CLI to be associated with the message.
· Return Value
This method does not return a value.
8.1.2.2 ForwardMsgToMailbox Method
The ForwardMsgToMailbox method is used to forward a file or message to another mailbox.
Voice.ForwardMsgToMailbox(
file As String,
mailbox As String,
ident As String
) As String
· Parameters
· file - This contains the name of the message file to be forwarded. The following formats are allowable:
· [GREETING]\greeting
Forwards the greeting stored within the greetings directory (the .WAV extension is automatically appended).
· [ACCOUNTS]\mailbox\message
Forwards the message stored within the specified mailbox (the .WAV extension is automatically appended).
· [CAMPAIGN]\campaign\message
Forwards a campaign message stored within the specified campaign (the .WAV extension is automatically
appended).
· If the fully qualified path is specified (drive:\path\file) then the full specified pathname is used otherwise the file is
relative to the WAVS directory.
· mailbox - The mailbox to forward the message to.
· ident - The CLI to be associated with the message.
· Return Value
The name of the new message.