ThbTapiCall.GeneratePulseDigits
Unit: hbTapi
 

The GeneratePulseDigits method initiates the generation of the specified digits on the call using rotary pulse sequences. 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 duration in milliseconds of pulse 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 GeneratePulseDigits(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