Cisco Cisco Computer Telephony Integration Option 9.0 Developer's Guide
9-30
CTI OS Developer’s Guide for Cisco Unified Contact Center Enterprise
Release 8.5(3)
Chapter 9 Agent Object
Methods
errorcode
An output parameter (return parameter in VB) that contains an error code from
Return Values
Default CTI OS return values. See
Remarks
The recipient receives the message via the OnChatMessage event.
SetAgentGreetingAction
The SetAgentGreetingAction Sets the value of the Agent Greeting Action to enable or disable Agent
Greeting for the logged in agent.
Greeting for the logged in agent.
Syntax
C++:
int (Arguments& args)
COM:
HRESULT (/*[in]*/ IArguments *args, int * errorcode)
VB:
(args As CTIOSCLIENTLib.IArguments) As Long
Java:
int (Arguments args)
.NET:
CilError (Arguments args)
Input Parameters
args
Arguments array containing the following fields.
Table 9-14
SetAgentGreetingAction Parameters
Return Values
Default CTI OS return values. See
Message (optional)
STRING
The text of the user message. Maximum message size is
255 bytes.
255 bytes.
LoginName (optional)
STRING
Login name of the agent to receive the chat message. To
chat to an agent by login name, set “LoginName” and
“Target” to the login name of the agent to which to chat.
chat to an agent by login name, set “LoginName” and
“Target” to the login name of the agent to which to chat.
Keyword
Type Description
AgentGreetingAction INT
1 = Disable Agent Greeting for the logged in agent.
2 = Enable agent greeting for the logged in agent.