Version


Data Structure
typedef struct
{
DWORD size; /* Size of this structure */
DWORD onqualtime; /* Minimum duration for DTMF detected */
DWORD offqualtime; /* Minimum duration for end of DTMF detected */
DWORD DTMF_mode; /* Mode of DTMF detection */
} CDI_DTMFDETECTOR_PARMS;

|
Type
|
DWORD
|
|
Units
|
ms
|
|
Default Value
|
30
|
|
Allowed Values
|
30-32766
|
|
Description
|
Minimum duration for a DTMF (in ms). Tones shorter than this duration are ignored.
|


Data Structure
typedef struct
{
DWORD size; /* Size of this structure */
DWORD EnhancedMode; /* Enable/disable CX 2000 enhanced DSP features*/
} CDI_GLOBAL_PARMS;



Data Structure
typedef struct
{
DWORD size; /* Size of this structure */
DWORD cadence_type; /* Type of ring */
} CDI_RING_PARMS;



Data Structure
typedef struct
{
DWORD size; /* Size of this structure */
DWORD timeon; /* Off-hook deglitch time */
DWORD timeoff; /* On-hook deglitch time */
DWORD min_flash_hook; /* Minimum time to qualify for flash-hook */
DWORD max_flash_hook; /* Beyond this time, */
/* this is a disconnect condition */
} CDI_SIGNALDETECTOR_PARMS;

|
Type
|
DWORD
|
|
Units
|
ms
|
|
Default Value
|
30
|
|
Allowed Values
|
2-32766
|
|
Description
|
Sets the duration to qualify an off-hook condition.
|
|
Type
|
DWORD
|
|
Units
|
ms
|
|
Default Value
|
30
|
|
Allowed Values
|
2-32766
|
|
Description
|
Sets the duration to qualify an on-hook condition.
|
|
Type
|
DWORD
|
|
Units
|
ms
|
|
Default Value
|
350
|
|
Allowed Values
|
2-32766
|
|
Description
|
Sets the duration to qualify a flash-hook condition.
|
|
Type
|
DWORD
|
|
Units
|
ms
|
|
Default Value
|
1000
|
|
Allowed Values
|
2-32766
|
|
Description
|
Sets the duration to qualify a disconnect condition.
|


Data Structure
typedef struct
{
DWORD size; /* Size of this structure */
DWORD freq1; /* First/only frequency of the generated tone */
DWORD freq2; /* Second frequency of the generated tone */
INT32 ampl1; /* Amplitude of the first/only frequency component */
INT32 ampl2; /* Amplitude of the second frequency component */
DWORD ontime; /* Duration of tone, single cadence generation */
DWORD offtime; /* Duration of silence between tones, single cadence */
DWORD ontime2; /* Duration of tone, double cadence generation */
DWORD offtime2; /* Duration of silence between tones, double cadence */
INT32 iterations; /* Number of repeats of the tone/silence period */
} CDI_TONE_PARMS;

|
Type
|
DWORD
|
|
Units
|
Hz
|
|
Default Value
|
0
|
|
Allowed Values
|
0-4000
|
|
Description
|
A frequency component.
|
|
Type
|
INT32
|
|
Units
|
dB
|
|
Default Value
|
0
|
|
Allowed Values
|
0 to -100
|
|
Description
|
The amplitude of freq1.
|
|
Type
|
INT32
|
|
Units
|
dB
|
|
Default Value
|
0
|
|
Allowed Values
|
0 to -100
|
|
Description
|
The amplitude of freq2, in dB. Set to -100 if freq2 is 0.
|
|
Type
|
DWORD
|
|
Units
|
ms
|
|
Default Value
|
0
|
|
Allowed Values
|
0-8000
|
|
Description
|
The duration of the tone.
|
|
Type
|
INT32
|
|
Units
|
Not applicable.
|
|
Default Value
|
-1
|
|
Allowed Values
|
-1 or [1-65535]
|
|
Description
|
The number of times to repeat the cadence. Set to -1 for infinite repeats.
|
Version