TELTransferPrep
Places a call in preparation for a supervised transfer.
pascal TELErr TELTransferPrep (TELCAHandle hTELCA1, TELCAHandle hTELCA2);
hTELCA1- A handle to the call appearance structure for the call you want to transfer. You provide this handle. The call appearance must be in the
telCAActiveStatestate.hTELCA2- A handle to a call appearance structure for the new destination number. You get this handle from the
TELSetupCallfunction (page 4-24).- function result
- A result code.
DESCRIPTION
In a supervised transfer, you place a call to another directory number and keep the connection to the party to be transferred while awaiting an outcome, such as an answer, no answer, or a busy signal at the destination number. A supervised transfer gives the user an opportunity to consult with the destination party before completing the transfer.The
TELTransferPrepfunction places a call to the new destination directory number (analogous to using theTELConnectfunction to place a simple outgoing call). When the call appearance referenced byhTELCA2becomes active (your message handler gets atelCAActiveMsgmessage), the user can talk to the new destination party.You can complete a supervised transfer by calling the
TELTransferEstablishfunction (page 4-36) to connect the party to be transferred with the new destination party.SEE ALSO
Use theTELTransferBlindfunction (page 4-37) to make a blind transfer.