TELAnswerCall
Answers an incoming call.
pascal TELErr TELAnswerCall (TELCAHandle hTELCA);
hTELCA- A handle to a call appearance structure for the incoming call. You obtain this handle from a
telCAAlertingMsgor atelCAOfferMsgmessage.- function result
- A result code.
DESCRIPTION
You can use theTELAnswerCallfunction to answer a call that is alerting at the telephone terminal. When a call is alerting, your call appearance message handler receives atelCAAlertingMsgmessage.You can also use
TELAnswerCallto answer a call that is being offered at a telephone terminal. (Your call appearance message handler receives atelCAOfferMsgmessage when a call is being offered.)If
TELAnswerCallreturnsnoErr, the state of the call appearance changes totelCAActiveStateand your call appearance message handler receives atelCAActiveMsgmessage. At this point, an end-to-end connection exists and communication can take place.SEE ALSO
Calling theTELAcceptCallfunction (page 4-29) is also a valid response to aCAOfferMsgmessage. See the description of theCAOfferMsgmessage for more information about alternative responses to the message.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help