Intel 05-1832-002 IP Phone User Manual


 
Voice API for Windows Operating Systems Library Reference — November 2003 487
termination parameter table — DV_TPT
digit type description – Applies when using DX_DIGTYPE, which specifies termination
on a user-specified digit. Specify the digit type in the high byte and the ASCII digit value
in the low byte. See the global tone detection topic in the Voice API Programming Guide
for information.
digit bit mask – Applies to DX_DIGMASK, which specifies a bit mask of digits to
terminate on. Set the digit bit mask using one or more of the appropriate “Digit Defines”
from the table below:
number of pattern repetitions – Applies to DX_PMOFF, which specifies the number of
times a pattern should repeat before termination.
Note: When DX_PMOFF is the termination condition, tp_length contains the tp_flags
information. See the tp_flags description and also the Example section for more
information.
tp_flags
A bit mask representing various characteristics of the termination condition to use. The defines
for the termination flags are:
TF_10MS – Set units of time for tp_length to 10 msec. If not set, the default unit is 100
msec.
TF_CLRBEG – History of this termination condition is cleared when the function begins.
This bit overrides the TF_LEVEL bit. If both are set, the history will be cleared and no
past history of this terminator will be taken into account.
TF_CLREND – History of this termination condition is cleared when the function
terminates. This bit has special meaning for DX_IDDTIME (interdigit delay). If set, the
terminator will be started after the first digit is received; otherwise, the terminator will be
started as soon as the function is started. This bit has no effect on DM3 boards and will be
ignored.
TF_EDGE – Termination condition is edge-sensitive. Edge-sensitive means that the
function will not terminate unless the condition occurs after the function starts. Refer to
Digit Digit Define
0DM_0
1DM_1
2DM_2
3DM_3
4DM_4
5DM_5
6DM_6
7DM_7
8DM_8
9DM_9
*DM_S
#DM_P
aDM_A
bDM_B
cDM_C
dDM_D