Intel 05-1832-002 IP Phone User Manual


 
488 Voice API for Windows Operating Systems Library Reference — November 2003
DV_TPT — termination parameter table
the table later in this section to see which termination conditions can be edge-sensitive and
which can be level-sensitive. This bit has no effect on DM3 boards and will be ignored.
TF_FIRST – This bit is only used for DX_IDDTIME termination. If set, start looking for
termination condition (interdigit delay) to be satisfied after first digit is received.
TF_IMMEDIATE – This bit is only used for DX_MAXSIL and DX_MAXNOSIL
termination. This bit is not supported on Springware boards. If set, the silence timer starts
immediately at the onset of ec_stream( )or ec_reciottdata( ) instead of waiting for
dx_play( ) to finish. For more information on ec_ functions, see the Continuous Speech
Processing API Library Reference.
TF_LEVEL – Termination condition is level-sensitive. Level-sensitive means that if the
condition is satisfied when the function starts, termination will occur immediately.
Termination conditions that can be level-sensitive have a history associated with them
which records the state of the terminator before the function started. Refer to the table
later in this section to see which termination conditions can be edge-sensitive and which
can be level-sensitive. This bit has no effect on DM3 boards and will be ignored.
TF_SETINIT – This bit is only used for DX_MAXSIL termination. If the termination is
edge-sensitive and this bit is set, the tp_data field should contain an initial length of
silence to terminate upon if silence is detected before non-silence. In general, the tp_data
value should be greater than the value in tp_length. If the termination is level-sensitive,
then this bit must be set to 0 and tp_length will be used for the termination.
TF_USE – Terminator used for termination. If this bit is set, the terminator will be used
for termination. If the bit is not set, the history for the terminator will be cleared
(depending on TF_CLRBEG and TF_CLREND bits), but the terminator will still not be
used for termination. This bit is not valid for the following termination conditions:
DX_DIGMASK
DX_IDDTIME
DX_MAXTIME
DX_PMOFF
DX_PMON
A set of default tp_flags values appropriate to the various termination conditions is also
available. These default values are:
Default Define Underlying Flags
TF_DIGMASK (TF_LEVEL)
TF_DIGTYPE (TF_LEVEL)
TF_IDDTIME (TF_EDGE)
TF_LCOFF (TF_LEVEL | TF_USE | TF_CLREND)
TF_MAXDTMF (TF_LEVEL | TF_USE)
TF_MAXNOSIL (TF_EDGE | TF_USE)
TF_MAXSIL (TF_EDGE | TF_USE)
TF_MAXTIME (TF_EDGE)
TF_PMON (TF_EDGE)
TF_TONE (TF_LEVEL | TF_USE | TF_CLREND)