TELDNSetAutoAnswer
Enables or disables routing of auto-answered incoming calls to your application.
pascal TELErr TELDNSetAutoAnswer ( TELDNHandle hTELDN, Boolean AutoAnswerOn);
hTELDN- A handle to a directory number structure.
AutoAnswerOn- A Boolean value that indicates whether to enable (
true) or disable (false) routing of auto-answered incoming calls for the specified directory number.- function result
- A result code.
DESCRIPTION
TheTELDNSetAutoAnswerfunction enables or disables routing of auto-answered incoming calls for the directory number specified by thehTELDNparameter, according to the value passed in theAutoAnswerOnparameter. IfAutoAnswerOnistrue, theautoAnswerAvailflag of thefeatureFlagsfield in the directory number structure is set and all subsequent incoming calls are routed to your application. IfAutoAnswerOnisfalse, theautoAnswerAvailflag of thefeatureFlagsfield in the directory number structure is cleared. In addition, whenAutoAnswerOnisfalse, your application's call saver feature is also turned off.SPECIAL CONSIDERATIONS
More than one application can set the Auto-answer feature of a directory number. However, if more than one application sets the Auto-answer feature of a directory number, thetelDNSetAutoAnswerMsgmessage is sent only to the telephone tool for the first application to set that feature.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help