Intel 05-1832-002 IP Phone User Manual


 
486 Voice API for Windows Operating Systems Library Reference — November 2003
DV_TPT — termination parameter table
DX_MAXNOSIL – maximum length of non-silence. The range is 10 msec to 250 sec
(25000 in 10 msec units).
DX_MAXSIL – maximum length of silence. The range is 10 msec to 250 sec (25000 in
10 msec units).
DX_MAXTIME – maximum function time. On DM3 boards, this termination condition is
not supported by tone generation functions such as dx_playtone( ) and
dx_playtoneEx( ).
DX_TONE – tone on or tone off termination for global tone detection (GTD)
On Springware boards, the supported termination conditions are:
DX_DIGMASK – digit termination for bit mask of digits received
DX_DIGTYPE – digit termination for user-defined tone
DX_IDDTIME – maximum delay between digits
DX_LCOFF – loop current drop
DX_MAXDATA – maximum data for ADSI 2-way FSK. A Transmit/Receive FSK
session is terminated when the specified value of FSK DX_MAXDATA (in bytes) is
transmitted/received.
DX_MAXDTMF – maximum number of digits received
DX_MAXNOSIL – maximum length of non-silence
DX_MAXSIL – maximum length of silence
DX_MAXTIME – maximum function time
DX_PMOFF – pattern match of non-silence
DX_PMON – pattern match of silence
DX_TONE – tone on or tone off termination for global tone detection (GTD) termination
conditions
Note: DX_PMOFF and DX_PMON must be used in tandem. See the Example section for
more information.
Note: When using the DX_PMON and DX_PMOFF termination conditions, some of the
DV_TPT fields are set differently from other termination conditions.
Note: If you specify DX_IDDTIME in tp_termno, then you must specify TF_IDDTIME in
tp_flags. Similarly, if you specify DX_MAXTIME in tp_termno, then you must
specify TF_MAXTIME in tp_flags.
Note: It is not valid to set both DX_MAXTIME and DX_IDDTIME to 0. If you do so and
no other termination conditions are set, the function will never terminate.
You can call the extended attribute function ATDX_TERMMSK( ) to determine all the
termination conditions that occurred. This function returns a bitmap of termination conditions.
The “TM_” defines corresponding to this bitmap of termination conditions are provided in the
function description for ATDX_TERMMSK( ).
tp_length
Refers to the length or size for each specific termination condition. When tp_length represents
length of time for a termination condition, the maximum value allowed is 60000. This field can
represent the following:
time in 10 or 100 msec units – Applies to any termination condition that specifies
termination after a specific period of time, up to 60000. Units is specified in tp_flags field.
Default units is 100 msec.
size – When using DX_MAXDATA, which specifies maximum data for ADSI 2-way
FSK, valid values in tp_length are 1 to 65535.
number of digits – Applies when using DX_MAXDTMF, which specifies termination
after a certain number of digits is received.