
Telephony support
The IRAPI library includes several functions that support telephony operations such as placing and receiving calls. These functions provide as much consistency as possible across the different types of telephony hardware. Unfortunately, not all telephony types are capable of supporting all features, and IRAPI applications may behave slightly differently for some telephony types.
The telephony functions allow applications to:
- Answer a call via irAnswer(3IRAPI). (The chantest sample application on the system provides an example).
- Place an outbound call via irCall(3IRAPI).
- Outdial via irDial(3IRAPI). This is frequently done to pass data via dual tone multi-frequency (DTMF) tones or to dial a number after flashing the line.
- Disconnect a call via irDisconnect(3IRAPI). (The chantest sample application on the system provides an example).
- Control Call Classification Analysis (CCA) via irStartCCA(3IRAPI), irStopCCA(3IRAPI), and irCheckCCA(3IRAPI).