contents.gifindex.gifprev1.gifnext1.gif

RecordVoice method

The RecordVoice method is the one your program will use to record messages from callers. Using the properties that control how RecordVoice works (see below), your program may:

AAG90000.gif set the recording to be aborted by any touch-tone input,

AAG90000.gif set the gain (volume level) of the recording,

AAG90000.gif and set properties that will time-out the record operation if theres no speech at the start or at the end.

To have the recording aborted by touch-tone input, set RecordDTMFAbort to TRUE. The volume level of the recording can be set using the RecordGain property.

The RecordNoVoiceTime property is the time-out value applied if no speech is recorded immediately after recording starts. Finally, after recording has begun and speech is detected, the RecordSilenceTime value controls how much silence is recorded (at the end of the recording) before it is terminated.

The recorded speech will be stored in the file named by the VoiceFileName argument, so your application can store these recordings wherever it needs to.

Type

Arguments: VoiceFileName BSTR

MaxRecordTime (in seconds) short integer

Returns: A long integer status code (see ActiveAG Status codes)

Property interactions: This method is sensitive to the RecordDTMFAbort property, the RecordGain property, the RecordNoVoiceTime property.