7.1.2.33 PlayLocaleWav Method

This method is used to play a wave file through voicemail to the active connection taking into account the system locale.

Method

Voice.PlayLocaleWav(wav, [wait], [interruptables], [dlgid])

 

 

 

Parameters

wav (String)

 

 

This contains the name of the wave file to be played. 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.

 

 

[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.

 

wait (Boolean)

 

 

This optional parameter specifes whether voicemail should return immediately (0) or wait

 

 

until the wave file has been played first (1).

 

interruptables (String, Default = "Any")

 

 

This is for future development.

 

dlgid (Long. Default = 0)

 

 

The connection for the voicemail session.

 

 

Return Value

The key press that was used to terminate the playback. (String)

 

 

 

 

Voicemail Pro Installation and Maintenance

Page 358

IP Office Release 6

15-601063 Issue 22e (16 May 2010)

Page 358
Image 358
Avaya 6 manual PlayLocaleWav Method, Wav String