Cisco Cisco Computer Telephony Integration Option 8.5 Developer's Guide

Page of 668
 
Chapter 4      Building Your Application
Logging In and Logging Out an Agent
4-46
CTI OS Developer’s Guide for Cisco ICM/IPCC Enterprise & Hosted Editions Release 7.1(1) 
How to Create Values in the CTI OS Server Registry to Control Duplicate Log In 
Attempts
You can create keys in the CTI OS Server Registry that will instruct desktop 
applications to handle duplicate log in attempts in a specific way.
Warning
Two keys exist by default in the registry that are used by the CTI OS CIL: 
WarnIfAlreadyLoggedIn and RejectIfAlreadyLoggedIn. You must not use 
these keys in your desktop application. You must instead create other keys 
as described in this section. 
You should create two custom values:
  •
custom_WarnIfAgentLoggedIn
  •
custom_RejectIfAgentLoggedIn
The custom keys you create can be set to 0 (False) or 1 (True). 
The following table lists the settings to use to control how duplicate log in 
attempts are to be handled:
To create keys to control duplicate log in attempts:
Goal
custom_WarnIfAgentLog
gedIn
custom_RejectIfAgentLo
ggedIn
To warn the agent of the 
duplicate log in attempt, 
but to allow the agent to 
proceed
1
0
To allow the agent to 
proceed with the 
duplicate log in attempt 
with no warning
0
0
To not allow the agent to 
proceed with a duplicate 
log in attempt
0 or 1
1