Avaya 15-601063 用户手册

下载
页码 460
Voicemail Pro
Page 328
15-601063 Issue 20l (03 March 2009)
IP Office
8.1.2.29 PlayLocaleWav Method
The PlayLocaleWav method is used to play a wave file through voicemail to the active connection taking into account
the system locale.
Voice.PlayLocaleWav(
            wav
 As String,
            [wait As Boolean = True],
            [interruptables As String = “Any”],
            [dlgid As Long = 0]
As String
·
Parameters
·
wav - This contains the name of the wave file to be played and is of the following format:
·
[GREETING]\greeting 
Plays out the greeting stored within the greetings directory (the .WAV extension is automatically appended).
·
[ACCOUNTS]\mailbox\message 
Plays out the message stored within the specified mailbox (the .WAV extension is automatically appended).
·
[CAMPAIGN]\campaign\message 
Plays out 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 path name is used otherwise the file
is relative to the specified locale within the WAVS directory.
·
wait - This is an optional parameter specifying whether voicemail should return immediately or wait until the wave
file has been played first.
·
interruptables - This is for future development and should be left as default.
·
dlgid - The connection ID as passed in to the script.
·
Return Value 
The key press that was used to terminate the playback.