Avaya 6 IP Phone User Manual


 
Voicemail Pro Installation and Maintenance Page 361
15-601063 Issue 22e (16 May 2010)IP Office Release 6
Voicemail Pro Examples: Using VB Script
7.1.2.35 RecordMsg Method
This method is used to record a user’s speech input to the specified file.
Method
Voice.RecordMsg "recording", maxtime, [interruptables], [appendtofile], [dlgid], [playbeep]
Parameters
· recording (String)
This contains the name of the file for the recording to be stored to and can be in the following
formats. If the fully qualified path is specified (drive:\path\file) then the full specified pathname 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.
· maxtime (Long)
The maximum recording length specified in seconds.
· interruptables (String, Default = "Any")
This is for future development.
· appendtofile (Boolean. Default = False)
Set to true if the recording should be appended to the file, false to clear the file first.
· dlgid (Long. Default = 0)
The connection for the voicemail session.
· playbeep (Boolean. Default = False)
This flag sets whether a beep is played before the start of recording.
Return
Value
The key press that was used to terminate the recording. (String)
7.1.2.36 RecordRegister Method
This method is used to record a user’s speech input to the specified file stored in the specified register.
Method
Voice.RecordRegister(regnum, [maxtime], [interruptables], [dlgid], [playbeep])
Parameters
· regnum (Long)
Data register containing file to store recording to.
· maxtime (Long. Default = 60)
The maximum recording length specified in seconds.
· interruptables (String, Default = "Any")
This is for future development.
· dlgid (Long. Default = 0)
The connection for the voicemail session.
· playbeep (Boolean. Default = False)
This flag sets whether a beep is played before the start of recording.
Return Value
The key press that was used to terminate the recording. (String)