Create and place the call.
To determine whether or not the call connects, call GetStatus on the call handle.
TStandardText lineNumber = TStandardText("777-7777");
TTelephoneLineConfigurationData lineConfiguration(lineNumber);
TTelephoneLineHandle aLineHandle(lineConfiguration);
// Create a TStandardText instance for the number you want to call.
TStandardTextaNumber = TStandardText("974-0001");
TTelephoneCallHandle* aPhoneCall=aLineHandle.CreateAndPlaceCall(aNumber);
// Disconnect call.
aPhoneCall->HangUp();
delete aPhoneCall;