Instruction Manual

73M1866B/73M1966B TAPI High-Level Driver User Guide UG_1x66B_021
22 Rev. 2.2
3.19 IFX_TAPI_FXO_RING_ GET
Description
Receives ring status from the FXO interface.
#define IFX_TAPI_FXO_RING_GET _IOW(IFX_TAPI_IOC_MAGIC, 0xE0, int)
Prototype
int ioctl (
int chan_fd,
int IFX_TAPI_FXO_RING_GET,
unsigned long param );
Parameters
Data Type Name Description
chan_fd
Channel descriptor.
IFX_TAPI_FXO_RING_GET
I/O control identifier for this operation.
unsigned long param
Points to IFX_boolean_t type,indicating
the ringing status of the FXO line.
• IFX_TRUE the line is ringing.
IFX_FALSE the line is not ringing.
Return Values
Data Type Description
IFX_ERROR Failed to read ring status.
IFX_SUCCESS Successful.