ThbTapiCall.GenerateDigits
Unit: hbTapi
 

The GenerateDigits method initiates the generation of the specified digits on the call as inband tones using the signaling mode DTMF. Invoking this function with a empty value for Digits aborts any digit generation currently in progress. Invoking GenerateDigits or while digit generation is in progress aborts the current digit generation and initiates the generation of the most recently specified digits.

The Duration parameter specifies the the duration in milliseconds of DTMF digits and inter-digit spacing. A value of 0 uses a default value. This parameter must be within the range specified by ThbTapiLine.Caps.MinDialParams and ThbTapiLine.Caps.MaxDialParams. If out of range, the actual value is set to the nearest value in the range.

Declaration

procedure GenerateDigits(Digits: String; Duration: DWORD);

Remarks

Please refer to the section "lineGenerateDigits" in TAPI's documentation for a more detailed information.

See Also

ThbTapiLine.OnDigit, ThbTapiLine.OnGenerate