Intel 05-1832-002 IP Phone User Manual


 
112 Voice API for Windows Operating Systems Library Reference — November 2003
ATDX_TERMMSK( ) — return the reason for the last I/O function termination
TM_NORMTERM
Normal termination (for dx_dial( ), dx_sethook( ))
TM_TONE
Tone-on/off event
TM_USRSTOP
Function stopped by user
On Springware boards, possible return values are the following:
TM_DIGIT
Specific digit received
TM_EOD
End of data reached (on playback, receive)
TM_ERROR
I/O device error
TM_IDDTIME
Inter-digit delay
TM_LCOFF
Loop current off.
TM_MAXDATA
Maximum data reached; returned when the last I/O function terminates on DX_MAXDATA
TM_MAXDTMF
Maximum DTMF count
TM_MAXNOSIL
Maximum period of non-silence
TM_MAXSIL
Maximum period of silence
TM_MAXTIME
Maximum function time exceeded
TM_NORMTERM
Normal termination (for dx_dial( ), dx_sethook( ))
TM_PATTERN
Pattern matched silence off
TM_TONE
Tone-on/off event
TM_USRSTOP
Function stopped by user
!
!!
! Cautions
If several termination conditions are met at the same time, several bits will be set in the
termination bitmap.