PlayGreeting Initial Setup Properties

ClearDigits

Boolean

Clears any digits in the digit buffer when the call enters the control.

DisconnectControl

(String)

See Responding to Caller Hangup.

FastForwardDigit

(vbvDigitMaskConstants)

Digit that fast forwards the greeting by the number of seconds defined in FastFwdSecs. FastForwardDigit uses the vbvDigitMaskConstants.

FastFwdSecs

Integer

Number of seconds to fast forward when the FastForwardDigit is pressed.

GlobalToneControl

(String)

See Global Tone Handling.

HelpDigitControl

(String)

See Help Digit Control.
LouderDigit

(vbvDigitMaskConstants)

Digit used to increase the volume level of the playback. The level is reset on exit from the control. See also the PlayVolume property in the LineGroup control.

MinSpeechTermTime

Integer

(Dialogic only)

Time interval set in milliseconds, default is set to 50 ms. If TerminateOnVoice is set to True, VBVoice will listen for speech or non-silence for this set amount of time. Valid ranges are from 11-60000 ms. If this property is set either below or above this range, the lower or upper range values will be used instead. Best results have been found around 50 ms. (See TerminateOnVoice below.)

PauseDigit

(vbvDigitMaskConstants)

Pauses playing of the message for up to 10 seconds. Uses the vbvDigitMaskConstants. The pause can be terminated by any digit.

PauseTimeout

Integer

Number of seconds to pause when the PauseDigit has been pressed. The pause can be terminated earlier by any digit.

RewindDigit

(vbvDigitMaskConstants)

RewindSecs

Integer

Digit that rewinds the greeting by the number of seconds defined in RewindSecs. RewindDigit uses the vbvDigitMaskConstants.

SofterDigit

(vbvDigitMaskConstants)

Digit used to decrease the volume level of the playback. The level is reset on exit from the control. See also the PlayVolume property in the LineGroup control.

TerminateOnVoice

(Boolean)

(Not supported by HMP. Dialogic only.)

When set to True, VBVoice will listen for speech or non-silence, for a preset amount of time set in milliseconds (see MinSpeechTermTime). If speech or non-silence is detected, a VoiceError Event is fired terminating the current Greeting. You can process this non-silence by calling the TakeCall method in the VoiceError Event. If you do not process the non-silence, an unexpected event is fired terminating the call by going onhook. For example, once speech or non-silence is detected in the PlayGreeting1 control, the PlayGreeting1_VoiceError event is fired. You can then process this event in code as shown below.

[VB 6.0 Example]

Private Sub PlayGreeting1_VoiceError(ByVal channel As Integer, ByVal ErrorType As Integer, ByVal ErrorData As Long, Processed As Integer)
If ErrorType = 15 Then
   Delay1.TakeCall channel 'or any other VBV control
End If
End Sub

[VB.NET Example]

Private Sub PlayGreeting1(ByVal sender As Object, ByVal e As AxVBVoiceLib._DPlayGreetingEvents_VoiceErrorEvent) Handles ProductInfo.VoiceError
 If e.errorType = 15 Then
   Delay1.TakeCall(e.channel)
 End If
End Sub

Note that when using TerminateOnVoice property in conjunction with the DetectDialTone (vbvoice.ini file setting in the [PBX] section), TerminateOnVoice overwrites the DetectDialTone setting.

Read more about PlayGreeting control.