TAPIEx ActiveX Control v3.6

OnGatherDigitsTerminated Event

The OnGatherDigitsTerminated event is fired when current digit-gathering request terminated or canceled.

Event OnGatherDigitsTerminated(m_Call As TAPICall, 
GatheredDigits As String, 
TerminateReason As LINEGATHERTERM)

Parameters

m_Call
Reference to ITAPICALL.
GatheredDigits
The digits which collected in current digit-gathering request.
TerminateReason
The reason why digit gathering was terminated.
Value Meaning
GATHERTERM_BUFFERFULL
The requested number of digits has been gathered. The buffer is full.
GATHERTERM_CANCEL
The request was canceled by this application, by another application, or because the call terminated.
GATHERTERM_FIRSTTIMEOUT
The first digit timeout expired. The buffer contains no digits.
GATHERTERM_INTERTIMEOUT
The inter-digit timeout expired. The buffer contains at least one digit.
GATHERTERM_TERMDIGIT
One of the termination digits matched a received digit. The matched termination digit is the last digit in the buffer.
 

Return Values

None.

Remarks

None.

See Also

InterDigitTimeout , FirstDigitTimeout ,GatherDigits