TAPIEx ActiveX Control v3.6

GenerateDTMF

The GenerateDTMF method initiates the generation of the specified digits on this call as inband tones using the specified signaling mode.

Function GenerateDTMF(
Keys As String, 
[DigitMode As TAPI_DIGITMODE = DIGITMODE_DTMF]
) As Boolean

Parameters

Keys
representation of digits to be sent.
DigitMode
Indicates digit mode (default=DIGITMODE_DTMF)
Value Meaning
DIGITMODE_DTMF
Uses DTMF tones to signal digits. Valid digits are 0 through 9, '*', '#', 'A', 'B', 'C', and 'D'.
DIGITMODE_DTMFEND Uses DTMF tones to signal digits and detect the down edges. Valid digits are 0 through 9, '*', '#', 'A', 'B', 'C', and 'D'.
DIGITMODE_PULSE
Uses rotary pulse sequences to signal digits. Valid digits are 0 through 9.

Return Values

If the method succeeds, return TRUE, otherwise return FALSE.

Remarks

After all digits in Keys have been generated, or after digit generation has been aborted or canceled, a OnGenerateComplete event is sent to the application.

See Also

OnGenerateComplete , OnDTMF