GetDigits Methods

TakeCall

This method allows the programmer to override the graphical connections and transfer a call to any other control. See TakeCall .

TrainRotary

(Channel as Integer, Digit as Integer)

This method is called in the Enter event of a GetDigits control to initiate pulse digit training.

The Digit parameter specifies the digit to be used for training. A training session can be terminated by a DTMF key for callers that have that capability. A different digit should be used, such as the # key.

Return codes:

0

Success

-1

Either Max Digits <> 1 or Clear Digit on Entry not set

-3

Channel index is out of range

Dialogic

Dialogic pulse detection will work without training, but with training it will be much more reliable and will allow termination of prompts by pulse digits. Dialogic training algorithms require a digit 0 for training and will ignore the Digit parameter.

A training session can be terminated by a DTMF key for callers that have that capability. A different digit should be used, such as the # key.

Training should only be performed once the greeting has terminated.

Read more about GetDigits control.