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

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

Value

 

 

 

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)

 

 

 

Voicemail Pro Installation and Maintenance

Page 361

IP Office Release 6

15-601063 Issue 22e (16 May 2010)

Page 361
Image 361
Avaya 6 manual RecordMsg Method, RecordRegister Method, ∙ maxtime Long, Return, Value