394 Voice API for Windows Operating Systems Library Reference — November 2003
dx_setparm( ) — set physical parameters of a channel or board device
Table 15. Voice Channel Parameters (Springware)
Define Bytes
Read/
Write
Default Description
DXCH_AUDIOLINEIN Enables or disables the ProLine/2V audio jack line-in on voice
channel 2
DXCH_CALLID disabled Enables or disables caller ID for the channel. Valid values are:
• DX_CALLIDENABLE
• DX_CALLIDDISABLE (default)
DXCH_DFLAGS 2 R/W 0 DTMF detection edge select
DXCH_DTINITSET 2 R/W 0 Specifies which DTMF digits to initiate play on. Values of
different DTMF digits may be ORed together to form the bit
mask. Possible values and the corresponding digits are:
• DM_1 – DTMF digit 1
• DM_2 – DTMF digit 2
• DM_3 – DTMF digit 3
• DM_4 – DTMF digit 4
• DM_5 – DTMF digit 5
• DM_6 – DTMF digit 6
• DM_7 – DTMF digit 7
• DM_8 – DTMF digit 8
• DM_9 – DTMF digit 9
• DM_0 – DTMF digit 0
• DM_S – ^
• DM_P – #
• DM_A – a
• DM_B – b
• DM_C – c
• DM_D – d
DXCH_DTMFDEB 2 R/W 0 DTMF debounce time (record delay). Sets the minimum time
for DTMF to be present to be considered valid. Used to remove
false DTMF signals during recording. Increase the value for
less sensitivity to DTMF.
DXCH_DTMFTLK 2 R/W 5 Sets the minimum time for DTMF to be present during playback
to be considered valid. Increasing the value provides more
immunity to talk-off/playoff.
Set to -1 to disable.
DXCH_MAXRWINK 1 R/W 20 Maximum Loop Current for Wink. Sets the maximum time that
loop current needs to be on before recognizing a wink (10 msec
units).
DXCH_MFDELAY 2 R/W 6 MF Interdigit Delay. Sets the length of the silence period
between tones during MF dialing. This parameter affects all the
channels on the board. (10 msec units).
DXCH_MFMINON 2 R/W 0 Minimum MF On. Sets the duration to be added to the standard
MF tone duration before the tone is detected. The minimum
detection duration is 65 msec for KP tones and 40 msec for all
other tones. This parameter affects all the channels on the
board. (10 msec units).