TELConferencePrep
Places a call in preparation for adding a party to a conference.
pascal TELErr TELConferencePrep ( TELCAHandle hTELCA1, TELCAHandle hTELCA2, short numToConference);
hTELCA1- A handle to the call appearance structure for the conference initiator. You provide this handle. On input, the state of the call appearance must be either
telCAActiveStateortelCAHeldState. On output, the Telephone Manager sets thecaRelatedbit in thefeatureFlagsfield.hTELCA2- A handle to a call appearance structure for the party to be added to the conference. You get this handle by calling the
TELSetupCallfunction (page 4-24). On output, the Telephone Manager sets therelatedCAfield to the handle inhTELCA1.numToConference- The total number of parties, including the conference initiator, that will be part of the conference call after all parties are added. You must supply a value for this parameter if the
numToConferenceRequiredbit is set in the call appearance structure referenced byhTELCA1. If you need to provide a value here, you can check theconferenceLimitfield in the call appearance structure referenced byhTELCA1to determine the maximum number of parties you can add to a conference.- function result
- A result code.
DESCRIPTION
You use theTELConferencePrepfunction to connect to a party you want to add to a conference, just as you use theTELConnectfunction to place a simple outgoing call.When the call appearance referenced by
hTELCA2becomes active, the user of your application can consult with the new party. Then your application can call theTELConferenceEstablishfunction (page 4-40) to add the party to the conference. If the user does not want to consult, your application can callTELConferenceEstablishimmediately after the call appearance referenced byhTELCA2becomes active.Once a normal call is established, you can add one or more parties by calling the following functions in sequence for each added party:
- call
TELSetupCallto get a new call appearance structure- call
TELConferencePrepto connect to the party to be added- call
TELConferenceEstablishto add the party to the conference