ITAgentSession interface (tapi3.h)

An agent session represents an association between an agent, group, and address. The methods of ITAgentSession allow an application to retrieve a variety of statistics. The following methods create the ITAgentSession interface:

IEnumAgentSession::Next

ITAgent::get_AgentSessions

ITAgent::CreateSession

See About Call Center Controls for additional information.

Note to TAPI 2.1 programmers: Many of the methods in this interface are COM wrappers for lineGetAgentSessionInfo.

Inheritance

The ITAgentSession interface inherits from the IDispatch interface. ITAgentSession also has these types of members:

Methods

The ITAgentSession interface has these methods.

 
ITAgentSession::get_ACDCallRate

The get_ACDCallRate method (tapi3.h) gets the all rate per agent session, in calls per hour.
ITAgentSession::get_ACDGroup

The get_ACDGroup method (tapi3.h) gets the ACD group associated with this session.
ITAgentSession::get_Address

The ITAgentSession::get_Address (tapi3.h) method gets a pointer to the ITAddress interface associated with this session.
ITAgentSession::get_Agent

The ITAgentSession::get_Agent (tapi3.h) method gets a pointer to the ITAgent interface associated with this session.
ITAgentSession::get_AverageCallTime

The ITAgentSession::get_AverageCallTime (tapi3.h) method gets the average time (in seconds) spent per ACD call during this agent session.
ITAgentSession::get_AverageTalkTime

The ITAgentSession::get_AverageTalkTime (tapi3.h) method gets the average time spent talking per ACD call, during this agent session (by this agent).
ITAgentSession::get_AverageTimeToAnswer

The ITAgentSession::get_AverageTimeToAnswer (tapi3.h) method gets the average time (in seconds) that calls waited to be answered.
ITAgentSession::get_AverageWrapUpTime

The ITAgentSession::get_AverageWrapUpTime (tapi3.h) method gets the average time per ACD call spent in wrap-up (after-call work) during this agent session.
ITAgentSession::get_LongestTimeToAnswer

The ITAgentSession::get_LongestTimeToAnswer (tapi3.h) method gets the longest time (in seconds) a call was waiting to be answered.
ITAgentSession::get_NumberOfCalls

The ITAgentSession::get_NumberOfCalls (tapi3.h) method gets the number of ACD calls handled by this agent during this session.
ITAgentSession::get_SessionDuration

The ITAgentSession::get_SessionDuration (tapi3.h) method gets the duration of the Agent session in seconds.
ITAgentSession::get_SessionStartTime

The ITAgentSession::get_SessionStartTime (tapi3.h) method gets the time that the session was created.
ITAgentSession::get_State

The ITAgentSession::get_State (tapi3.h) method gets the current state of this session.
ITAgentSession::get_TotalCallTime

The ITAgentSession::get_TotalCallTime (tapi3.h) method gets the number of seconds spent on ACD calls during this agent session (by this agent).
ITAgentSession::get_TotalTalkTime

The ITAgentSession::get_TotalTalkTime (tapi3.h) method gets the number of seconds spent by this agent talking in ACD calls during this session.
ITAgentSession::get_TotalWrapUpTime

The ITAgentSession::get_TotalWrapUpTime (tapi3.h) method gets the number of seconds spent on ACD call wrap-up (after-call work) during this agent session.
ITAgentSession::put_State

The ITAgentSession::put_State (tapi3.h) method sets the state of the agent session.

Requirements

Requirement Value
Target Platform Windows
Header tapi3.h (include Tapi3.h)

See also

About Call Center Controls

IDispatch