(Page 3 of 23 in this chapter) Version
nccAnswerCall
Description
- Answers an incoming call.
Prototype
- DWORD nccAnswerCall ( NCC_CALLHD callhd,
unsigned num_rings,
void *answerparms)
- callhd Call handle returned via NCCEVN_SEIZURE_DETECTED.
- num_rings Number of rings to play before answering.
- answerparms Pointer to protocol-specific CT Access call answering parameter structure. Specify NULL to use default values. See protocol-specific documentation for details.
Return Values
- This event indicates that a call address or subaddress digit has been received from the network. The application may receive several of these events, as digits are received in an overlapped fashion for an incoming call. The value field contains the digit.
Events
Details
- If this function completes successfully, the call enters the Answering call state. The application receives NCCEVN_ANSWERING_CALL. When the call is connected, the application receives NCCEVN_CALL_CONNECTED, and the call enters the Connected call state. If the remote party disconnects while the call is in the Answering call state, the application receives NCCEVN_CALL_DISCONNECTED.
See Also
- nccAcceptCall, nccRejectCall
(Page 3 of 23 in this chapter) Version
tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights
reserved.