Intel 05-1832-002 User Manual
![Intel](https://files.manualsbrain.com/attachments/5a71b1e7f60391972dadeef20435931cbf4621a5/common/fit/150/50/86c99b5f14aeb2708e9a9e1b5305af4ccf882c1af0155dad25413c2ed84e/brand_logo.png)
Voice API for Windows Operating Systems Library Reference — November 2003
109
return the current state of the channel — ATDX_STATE( )
ATDX_STATE( )
return the current state of the channel
!
!
!
! Description
The ATDX_STATE( ) function returns the current state of the channel chdev.
Possible return values are the following:
CS_DIAL
Dial state
CS_CALL
Call state
CS_GTDIG
Get Digit state
CS_HOOK
Hook state
CS_IDLE
Idle state
CS_PLAY
Play state
CS_RECD
Record state
CS_STOPD
Stopped state
CS_TONE
Playing tone state
Name:
long ATDX_STATE(chdev)
Inputs:
int chdev
•
valid channel device handle
Returns:
current state of channel if successful
AT_FAILURE if error
AT_FAILURE if error
Includes:
srllib.h
dxxxlib.h
dxxxlib.h
Category:
Extended Attribute
Mode:
synchronous
Platform:
DM3, Springware
Parameter
Description
chdev
specifies the valid channel device handle obtained when the channel was opened
using dx_open( )
using dx_open( )