TAPIEx.NET Component Documentation

GenerateTone Method

Description

The GenerateTone method generates the specified inband tone over the specified call.

[Visual Basic]
Function GenerateTone( ToneMode As TAPI_TONEMODE, lDuration As Long ) As Boolean
[C#]
public Boolean GenerateTone ( TAPI_TONEMODE ToneMode , Int32 Duration )

Parameters

ToneMode
The mode of tone. It will be one of the TAPI_TONEMODE constants.
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.

Support editions