ITAgentSession::get_TotalCallTime method (tapi3.h)
The get_TotalCallTime method gets the number of seconds spent on ACD calls during this agent session (by this agent). This value includes the time spent on the phone plus wrap-up time.
Syntax
HRESULT get_TotalCallTime(
[out] long *plCallTime
);
Parameters
[out] plCallTime
Pointer to total call time.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
Insufficient memory exists to perform the operation. |
|
The plCallTime parameter is not a valid pointer. |
|
See lineGetAgentSessionInfo for error codes returned from this TAPI 2.1 function. |
|
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 |