ITAgentSession::get_TotalTalkTime method (tapi3.h)

The get_TotalTalkTime method gets the number of seconds spent by this agent talking in ACD calls during this session.

Syntax

HRESULT get_TotalTalkTime(
  [out] long *plTalkTime
);

Parameters

[out] plTalkTime

Total talk time.

Return value

This method can return one of these values.

Return code Description
S_OK
Method succeeded.
E_OUTOFMEMORY
Insufficient memory exists to perform the operation.
E_POINTER
The plTalkTime parameter is not a valid pointer.
LINEERR_
See lineGetAgentSessionInfo for error codes returned from this TAPI 2.1 function.
TAPI_E_TIMEOUT
The operation failed because the TAPI 3 DLL timed it out. The timeout interval is two minutes.

Remarks

This method wraps the TAPI 2.1 lineGetAgentSessionInfo function.

Requirements

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

See also

ITAgentSession

lineGetAgentSessionInfo