Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 640
 
Chapter 4      Building Your Application
Logging In and Logging Out an Agent
4-42
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.0(0)
   pDisconnectArgs->Release();
}
else
{
  m_ctiSession->Disconnect();
}
Logging In and Logging Out an Agent
How to Log In an Agent
When the connection to the CTIOS Server is established and the mode set, you 
log in the agent. 
Note
Before attempting to log in an agent, you would typically request global 
configuration data, in order to correctly handle a duplicate log in attempt. For 
more information, see the section 
To log in the agent, in the SetAgentModeEvent() event:
Step 1
Create an instance of the Arguments class.
Step 2
Set log in values for the agent in the Arguments instance.
Note
The properties required for the agent depend on the type of ACD you are 
using. The following example demonstrates the required properties for IPCC.
Step 3
Log in the agent.