Cisco Cisco Computer Telephony Integration Option 8.5 Guia Do Programador

Página de 668
 
9-27
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1)
 
Chapter 9      Agent Object
Methods
requirements include an ACD password (AgentPassword). Some switches require 
PositionID in place of (or in addition to) AgentInstrument. Optional arguments 
include Extension or AgentWorkMode.
Syntax
C++:
virtual int Login(Arguments & args);
COM:
HRESULT Login  ( /*[in]*/ IArguments * pVariantArgs, /*[out]*/ 
int * errorcode );
VB:
Login (args As CTIOSCLIENTLib.IArguments) As Long
Java:
int Login(Arguments args)
.NET:
CilError Login(Arguments args)
Input Parameters
args
Arguments array that contains the login parameters listed in 
Table 9-4
Login Parameters 
Keyword
Type
Description
AgentID (required)
**
STRING
*
The agent’s login ID.
AgentInstrument
STRING
*
The agent’s instrument number.
LoginName 
(required)
**
STRING
The agent’s login name.
PositionID
STRING
*
Required for Alcatel only.
AgentExtension
STRING
*
The agent’s teleset extension. Optional if 
AgentInstrument is provided.
AgentPassword 
(optional)
STRING
*
The agent’s password.
AgentWorkMode 
(optional)
INT
A value representing the desired work 
mode of the agent. Used by Avaya 
DEFINITY ECS with default value of 
ManualIn.
NumSkillGroups 
(optional)
INT
The number of Skill Groups that the agent 
is currently associated with, up to a 
maximum of 20.