TAPIEx ActiveX Control v3.6

GenerateTone

The GenerateTone method generates the specified inband tone over the specified call. Invoking this function with a zero for dwToneMode aborts the tone generation currently in progress on the specified call.

Function GenerateTone(
ToneMode As TAPI_TONEMODE, 
lDuration As Long
) As Boolean

Parameters

ToneMode
ToneMode
Value Meaning
TTM_BEEP

The tone is a beep, such as that used to announce the beginning of a recording. Exact definition is service-provider defined.
TTM_BILLING The tone is a billing information tone such as a credit card prompt tone. Exact definition is service-provider defined.
TTM_BUSY
The tone is a busy tone. Exact definition is service-provider defined.
TTM_RINGBACK The tone is ringback tone. Exact definition is service-provider defined.
lDuration
Duration in milliseconds during which the tone should be sustained. A value of 0 for lDuration uses a default duration for the specified tone.

Return Values

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

Remarks

GenerateDTMF

See Also

None.