contents.gifindex.gifprev1.gifnext1.gif

PlayVoice method

The PlayVoice method will be one of the methods youll use most often in ActiveAG. This is the method that delivers digitized voice data to callers. Using PlayVoice is very simple. To play a VCE file, simply pass in the name of that file

The PlayGain property can be used to control the volume of the playback. By default, this property is set to zero (defined as normal level). The PlayDTMFAbort property determines whether play is stopped when a touch-tone is detected. By default, this is set TRUE so that any touch-tone input stops play.

Type

Arguments: VoiceFileName BSTR

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

Property interactions: This method is sensitive to the PlayGain property, PlayDTMFAbort property and the VoiceFormat property.