Making a Call with TAPI
Once a device's capabilities have been determined, TAPI functions can be used to make, maintain, and terminate a call. The steps required are the following:
Open a device line using the function lineOpen.
Translate the telephone number from canonical form (including international dial-in number and area code) to a dialable form (taking into account the user's current location).
Call lineMakeCall to make the call that connects asynchronously.
Provide a lineCallbackFunc function to receive notifications.
Close the call by calling lineDrop, lineDeallocateCall and lineClose.
Opening a Line
The TAPI lineOpen function opens a line device ready for making a call. The line device identifier and the negotiated TAPI version ...