Table of Contents Index NMS Glossary Previous Page Next Page (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 by NCCEVN_SEIZURE_DETECTED.

num_rings Number of rings to play before answering.

answerparms Pointer to a protocol-specific CT Access call answering parameter structure. Specify NULL to use the default values. See the protocol-specific documentation for details.

Return Values

This event indicates that a call address or subaddress digit was 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 state. The application receives NCCEVN_ANSWERING_CALL. When the call is connected, the application receives NCCEVN_CALL_CONNECTED, and the call enters the connected state. If the remote party disconnects while the call is in the answering state, the application receives NCCEVN_CALL_DISCONNECTED.

See Also

nccAcceptCall, nccRejectCall



Table of Contents Index NMS Glossary Previous Page Next Page (Page 3 of 23 in this chapter) Version


Want to send us feedback on our documentation? Email: Tech_Pubs@nmss.com
Copyright © 2000, Natural MicroSystems, Inc. All rights reserved.