WorkerThread Initial Setup Properties

DisconnectControl

(String)

See Responding to Caller Hangup.

GlobalToneControl

(String)

See Global Tone Handling.

HelpDigitControl

(String)

See Help Digit Control.

IClearDigits

(Boolean)

If True, the digit buffer is cleared when a call enters the control.

IExitOnJobComplete

(Boolean)

If True, the call exits the control as soon as the job is done (run method exited), otherwise the control keeps playing the music to the caller until the maximum wait time is finished.

IMaximumThreads

(Integer)

This indicates the maximum number of threads that can be created in this WorkerThread's thread pool. The number of threads can increase as needed from the initial IMinimumThreads, up to IMaximumThreads, and shrink back to IMinimumThreads when threads are unused for a set amount of time.

IMaxWaitTime

(Integer)

The maximum time the control could wait for the job to finish execution. The time is in the units set by the property page: seconds, 100s of milliseconds. Set this property to zero for an infinite wait.

IMinimumThreads

(Integer)

This indicates the minimum number of threads that will always be maintained ready in the thread pool to pickup jobs. The number of threads can increase as needed (to a maximum of IMaximumThreads), and shrink back to IMinimumThreads when threads are unused for a set amount of time.

InvalidErrorControl

(String)

See Invalid Digit, No Digits, and Silence Timeout.

ITerminateOnVoice

(Boolean)

(Supported by Dialogic only)

When set to True, VBVoice will listen for speech or non-silence, for a preset amount of time set in milliseconds. If speech or non-silence is detected, a VoiceError Event is fired. 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.

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

ITerminationDTMF

(digits)

Specifies the digits that the WorkerThread can terminate on: applies to music, on hold, and silence options. It can be a single digit or all digits.

NOTE: If the IMusicGreeting has TermDtmf set, this overrides the ITerminationDTMF setting and allows termination on any digit.

IThreadIdleTime

(TimeSpan)

A TimeSpan object that defines the time (hours, minutes and seconds) that a thread can sit idle (not serving any job) before the thread pool starts shrinking itself.

IVComments

(String)

See VComments.

IWaitType

(vbvWaitTypes)

Selects the wait mode, as described above:

1. vbvWaitTypeMusic = Play Music

2. vbvWaitTypeSilent = Silence During Wait

3. vbvWaitTypeSilentNoResource = Silence without the need for a voice resource.