TELAcceptCall
Accepts an incoming call.
pascal TELErr TELAcceptCall (TELCAHandle hTELCA);
hTELCA- A handle to a call appearance structure for the incoming call. You obtain this handle from the
telCAOfferMsgmessage.- function result
- A result code.
DESCRIPTION
TheTELAcceptCallfunction accepts a call that is being offered at the telephone terminal, if the call is acceptable. When a call is being offered, your call appearance message handler receives atelCAOfferMsgmessage.A call is acceptable if the
acceptablebit in theotherFeaturesfield of the call appearance structure specified by thehTELCAparameter is set. If the call is not acceptable, you can ignore the call or call theTELRejectCallfunction (page 4-31) to reject it.If
TELAcceptCallreturnsnoErr, the state of the call appearance changes totelCAAlertingStateand your call appearance message handler receives atelCAAlertingMsgmessage.You can then call theTELAnswerCallfunction (page 4-30) to answer the call.SEE ALSO
Calling theTELAnswerCallfunction (page 4-30) is also a valid response to aCAOfferMsgmessage. For more information, see the description of theCAOfferMsgmessage.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help