CDI_DTMFDETECTOR_PARMS

CDI_DTMFDETECTOR_PARMS controls the DTMF detector.

Dependent function

cdiStartDTMFDetector

Field name

Type

Units

Default

Description

onqualtime

DWORD

ms

30

Indicates the minimum duration for a DTMF (in ms). Tones shorter than this duration are ignored.

Valid values: 30 - 32766

offqualtime

DWORD

ms

30

Indicates the minimum duration of silence after a DTMF (in ms). If two identical DTMFs follow one another, and the interval of silence between the tones is shorter than offqualtime, the detector considers them a single DTMF instance.

Valid values: 30 - 32766

DTMF_mode

DWORD

Flag

0

Determines when CDIEVN_DTMF_STARTED is sent to the application, indicating that a DTMF tone started.

Valid values:

0 = Event is sent after the qualification time (onqualtime).

1 = Event is sent when the key is released.