ITBasicCallControl::Dial method (tapi3if.h)

The Dial method dials the specified address.

Syntax

HRESULT Dial(
  [in] BSTR pDestAddress
);

Parameters

[in] pDestAddress

Pointer to BSTR representation of address to be dialed. The format must conform to a standard dialable address.

Return value

This method can return one of these values.

Value Meaning
S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
E_POINTER
The pDestAddress parameter is not a valid pointer.
TAPI_E_TIMEOUT
The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes.

Remarks

The application must use SysAllocString to allocate memory for the pDestAddress parameter and use SysFreeString to free the memory when the variable is no longer needed.

In some cases, the application may need to use the address translation interfaces ( ITAddressTranslation and ITAddressTranslationInfo) to obtain a pDestAddress string in the proper format.

The Dial method differs from ITAddress::CreateCall in that the call already exists. An example use is dialing an extension.

Requirements

Requirement Value
Target Platform Windows
Header tapi3if.h (include Tapi3.h)
Library Uuid.lib
DLL Tapi3.dll

See also

Call Object

Dial overview

Dialable Addresses

ITAddress::CreateCall

ITAddressTranslation

ITAddressTranslationInfo

ITBasicCallControl

lineDial