« Back to CTIOS Toolkit Questions

RE: CTI OS .NET CIL Sample Program - Agent State

Combination View Flat View Tree View
Threads [ Previous | Next ]
I'm running the CTI OS .NET CIL Sample application. I can able to connect to the CTI OS server and do agent login. But the agent state is in eUnknown even after logged in.
 
Is this correct? if it is wrong, what could be the reason?
 
Thanks

If the agent state is unknown then the login was unsuccessful. Are you able to change agent state to Available? Are you able to login and change agent states with the out of box CTIOS Agent Desktop?

Hi David,

I've connected and configured a phone also. When i login with the AgentID and password using my .NET program, i can see the physical phone's state going to AutoIn. Does that not mean that the login was successful?


After i login this is the conf message is get: eQueryAgentStateConf event not eControlFailureConf. Does it mean successful login?

Inside the eQueryAgentStateConf handler, if i print the Agent State is eLogin (value 0)

I have another button - QueryAgentState. The following is the output: (Here notice the AgentState value is 9 (eUnknown).

My Question is - I login and then see the agent state to be 0, then immediately when i query the state, it has gone to 9 however isAuthenticated value is still true as highlighted below.

What is happening?


[2012-06-06 03:48:02.757] - INFO: OnQueryAgentStateConf Event: - PeripheralID:5000
[2012-06-06 03:48:02.762] - INFO: OnQueryAgentStateConf Event: - AgentState:9[/b]
[2012-06-06 03:48:02.765] - INFO: OnQueryAgentStateConf Event: - NumSkillGroups:0
[2012-06-06 03:48:02.768] - INFO: OnQueryAgentStateConf Event: - MRDID:1
[2012-06-06 03:48:02.772] - INFO: OnQueryAgentStateConf Event: - ICMAgentID:0
[2012-06-06 03:48:02.775] - INFO: OnQueryAgentStateConf Event: - AgentMode:0
[2012-06-06 03:48:02.778] - INFO: OnQueryAgentStateConf Event: - MaxTaskLimit:0
[2012-06-06 03:48:02.782] - INFO: OnQueryAgentStateConf Event: - NumTasks:0
[2012-06-06 03:48:02.785] - INFO: OnQueryAgentStateConf Event: - AgentExtension:
[2012-06-06 03:48:02.789] - INFO: OnQueryAgentStateConf Event: - AgentID:1001001
[2012-06-06 03:48:02.793] - INFO: OnQueryAgentStateConf Event: - AgentInstrument:
[2012-06-06 03:48:02.797] - INFO: OnQueryAgentStateConf Event: - EnablementMask:16777216
[2012-06-06 03:48:02.803] - INFO: OnQueryAgentStateConf Event: - UniqueObjectID:agent.5000.1001001
[2012-06-06 03:48:02.808] - INFO: OnQueryAgentStateConf Event: - EventID:37
[2012-06-06 03:48:02.811] - INFO: OnQueryAgentStateConf Event: - MessageID:37
[2012-06-06 03:48:02.815] - INFO: OnQueryAgentStateConf Event: - NotReadyReasonRequired:False
[2012-06-06 03:48:02.820] - INFO: OnQueryAgentStateConf Event: - LogoutReasonRequired:False
[2012-06-06 03:48:02.826] - INFO: OnQueryAgentStateConf Event: - AgentAvailabilityStatus:0
[2012-06-06 03:48:02.830] - INFO: OnQueryAgentStateConf Event: - IsAuthenticated:True

What happens if you log in with the out of box CTIOS Agent Desktop? That is necessary for troubleshooting. And to ensure that your agent and extension are configured correctly. What your are looking at is the onQueryAgentStateEvent. Are you getting a onAgentStateEvent? I cannot tell from your log snippet what your .NET app is doing.. I suggest you review the CTIOS Client and Server logs to see what is happening.

Please find the log below:

06/08/2012 16:41:39.5673 CtiOsSession(31914638).NotifyConnectionRestored, Adding system event eSysCTIOSServerOnline
06/08/2012 16:41:39.5853 CTIObject.OnEvent: Received Event: eCTIOSFailureEvent
Arguments: (SystemEventID:15 FailureCode:10 StatusBarMessageemoticonffline)
06/08/2012 16:41:39.5913 SupUIMgr.procCtiOsFail: null session or not CCM silent monitor.
06/08/2012 16:41:39.5983 CTIObject.OnEvent: Received Event: eOnConnection
Arguments: (CurrentServer:10.2.124.36 CurrentPort:42028)
06/08/2012 16:41:39.6043 CtiOsSession(31914638).MakeRequest(eGlobalSettingsDownloadRequest)
06/08/2012 16:41:39.6053 CtiOsSession(31914638).MakeRequest, (DesktopType:0)
06/08/2012 16:41:39.7013 CtiOsSession(31914638).OnGlobalSettingsDownloadConf()
06/08/2012 16:41:39.7133 CtiOsSession(31914638).DeskSetting(ScreenPreferences) (MainScreenemoticonAgentStatisticsIntervalSec:15 BringToFrontOnCall:1 FlashOnCall:0 RecordingEnabled:0) TeamRealTimeemoticonColumnAutoResize:0))
06/08/2012 16:41:39.7153 CtiOsSession(31914638).DeskSetting(Grid) (SkillGroupStatisticsemoticonColumnsemoticon1emoticonType:SkillGroupNumber Header:SkillGroupNumber) 10emoticonType:AgentsTalkingOther Header:AgentsTalkingOther) 11emoticonType:AgentsHold Header:AgentsHold) 12emoticonType:AgentsReserved Header:AgentsReserved) 13emoticonType:AgentsBusyOther Header:AgentsBusyOther) 14emoticonType:AgentsWorkNotReady Header:AgentsWorkNotReady) 15emoticonType:AgentsWorkReady Header:AgentsWorkReady) 16emoticonType:HandledCallsToday Header:HandledCallsToday) 17emoticonType:HandledCallsTalkTimeToday Header:HandledCallsTalkTimeToday) 2emoticonType:SkillGroupName Header:SkillGroupName) 3emoticonType:RouterCallsQNow Header:RouterCallsQNow) 4emoticonType:LongestRouterCallQNow Header:LongestRouterCallQNow) 5emoticonType:AgentsLoggedOn Header:AgentsLoggedOn) 6emoticonType:AgentsNotReady Header:AgentsNotReady) 7emoticonType:AgentsReady Header:AgentsReady) 8emoticonType:AgentsTalkingIn Header:AgentsTalkingIn) 9emoticonType:AgentsTalkingOut Header:AgentsTalkingOut))) AgentStatisticsemoticonColumnsemoticon1emoticonType:CallsHandledToday Header:CallsHandledToday) 2emoticonType:HandledCallsTimeToday Header:HandledCallsTimeToday) 3emoticonType:TimeTalkingToday Header:TimeTalkingToday) 4emoticonType:TimeHoldingToday Header:TimeHoldingToday) 5emoticonType:TimeReadyToday Header:TimeReadyToday) 6emoticonType:TimeNotReadyToday Header:TimeNotReadyToday))) CallAppearanceemoticonColumnsemoticon1emoticonType:CallID Header:CallID) 10emoticonTypeemoticonar2 Headeremoticonar2 editable:true maxchars:40) 11emoticonTypeemoticonar3 Headeremoticonar3 editable:true maxchars:40) 12emoticonTypeemoticonar4 Headeremoticonar4 editable:true maxchars:40) 13emoticonTypeemoticonar5 Headeremoticonar5 editable:true maxchars:40) 14emoticonTypeemoticonar6 Headeremoticonar6 editable:true maxchars:40) 15emoticonTypeemoticonar7 Headeremoticonar7 editable:true maxchars:40) 16emoticonTypeemoticonar8 Headeremoticonar8 editable:true maxchars:40) 17emoticonTypeemoticonar9 Headeremoticonar9 editable:true maxchars:40) 18emoticonTypeemoticonar10 Headeremoticonar10 editable:true maxchars:40) 2emoticonType:CallStatus Header:CallStatus) 3emoticonType:CallType Header:CallType) 4emoticonTypeemoticonNIS HeaderemoticonNIS) 5emoticonType:ANI Header:ANI) 6emoticonType:CED Header:CED) 7emoticonTypeemoticonialedNumber HeaderemoticonialedNumber) 8emoticonType:Wrapup Header:Wrapup editable:true maxchars:39) 9emoticonTypeemoticonar1 Headeremoticonar1 editable:true maxchars:40))))
06/08/2012 16:41:39.7153 CtiOsSession(31914638).DeskSetting(Login) (ConnectionProfilesemoticonUCCEemoticonPeripheralID:5000 CtiOsA:npricmdev101 CtiOsB:npricmdev101 PortA:42028 PortB:42028 Heartbeat:5 MaxHeartbeats:3 AutoLogin:1 WarnIfAlreadyLoggedIn:0 ShowFieldBitMask:35 RejectIfAlreadyLoggedIn:0 IPCCSilentMonitorEnabled:0 TOS:0 SwitchCapabilityBitMask:2134842367 WarnIfSilentMonitored:0)))
06/08/2012 16:41:39.7153 CtiOsSession(31914638).DeskSetting(IPCCSilentMonitor) (SettingsemoticonHeartBeatInterval:5 MediaTerminationPort:4000 TOS:0 MonitoringIPPort:39200 HeartbeatTimeout:15 CCMBasedSilentMonitor:0))
06/08/2012 16:41:39.7163 CtiOsSession(31914638).DeskSetting(SoundPreferences) (DTMFemoticonMute:0) DialToneemoticonMute:0) OriginatingToneemoticonMute:1) RingInToneemoticonMute:1) AllemoticonMute:0))
06/08/2012 16:41:39.7163 CtiOsSession(31914638).DeskSetting(Version) ()
06/08/2012 16:41:39.7173 CTIObject.OnEvent: Received Event: eGlobalSettingsDownloadConf
Arguments: (ScreenPreferencesemoticonMainScreenemoticonAgentStatisticsIntervalSec:15 BringToFrontOnCall:1 FlashOnCall:0 RecordingEnabled:0) TeamRealTimeemoticonColumnAutoResize:0)) GridemoticonSkillGroupStatisticsemoticonColumnsemoticon1emoticonType:SkillGroupNumber Header:SkillGroupNumber) 10emoticonType:AgentsTalkingOther Header:AgentsTalkingOther) 11emoticonType:AgentsHold Header:AgentsHold) 12emoticonType:AgentsReserved Header:AgentsReserved) 13emoticonType:AgentsBusyOther Header:AgentsBusyOther) 14emoticonType:AgentsWorkNotReady Header:AgentsWorkNotReady) 15emoticonType:AgentsWorkReady Header:AgentsWorkReady) 16emoticonType:HandledCallsToday Header:HandledCallsToday) 17emoticonType:HandledCallsTalkTimeToday Header:HandledCallsTalkTimeToday) 2emoticonType:SkillGroupName Header:SkillGroupName) 3emoticonType:RouterCallsQNow Header:RouterCallsQNow) 4emoticonType:LongestRouterCallQNow Header:LongestRouterCallQNow) 5emoticonType:AgentsLoggedOn Header:AgentsLoggedOn) 6emoticonType:AgentsNotReady Header:AgentsNotReady) 7emoticonType:AgentsReady Header:AgentsReady) 8emoticonType:AgentsTalkingIn Header:AgentsTalkingIn) 9emoticonType:AgentsTalkingOut Header:AgentsTalkingOut))) AgentStatisticsemoticonColumnsemoticon1emoticonType:CallsHandledToday Header:CallsHandledToday) 2emoticonType:HandledCallsTimeToday Header:HandledCallsTimeToday) 3emoticonType:TimeTalkingToday Header:TimeTalkingToday) 4emoticonType:TimeHoldingToday Header:TimeHoldingToday) 5emoticonType:TimeReadyToday Header:TimeReadyToday) 6emoticonType:TimeNotReadyToday Header:TimeNotReadyToday))) CallAppearanceemoticonColumnsemoticon1emoticonType:CallID Header:CallID) 10emoticonTypeemoticonar2 Headeremoticonar2 editable:true maxchars:40) 11emoticonTypeemoticonar3 Headeremoticonar3 editable:true maxchars:40) 12emoticonTypeemoticonar4 Headeremoticonar4 editable:true maxchars:40) 13emoticonTypeemoticonar5 Headeremoticonar5 editable:true maxchars:40) 14emoticonTypeemoticonar6 Headeremoticonar6 editable:true maxchars:40) 15emoticonTypeemoticonar7 Headeremoticonar7 editable:true maxchars:40) 16emoticonTypeemoticonar8 Headeremoticonar8 editable:true maxchars:40) 17emoticonTypeemoticonar9 Headeremoticonar9 editable:true maxchars:40) 18emoticonTypeemoticonar10 Headeremoticonar10 editable:true maxchars:40) 2emoticonType:CallStatus Header:CallStatus) 3emoticonType:CallType Header:CallType) 4emoticonTypeemoticonNIS HeaderemoticonNIS) 5emoticonType:ANI Header:ANI) 6emoticonType:CED Header:CED) 7emoticonTypeemoticonialedNumber HeaderemoticonialedNumber) 8emoticonType:Wrapup Header:Wrapup editable:true maxchars:39) 9emoticonTypeemoticonar1 Headeremoticonar1 editable:true maxchars:40)))) LoginemoticonConnectionProfilesemoticonUCCEemoticonPeripheralID:5000 CtiOsA:npricmdev101 CtiOsB:npricmdev101 PortA:42028 PortB:42028 Heartbeat:5 MaxHeartbeats:3 AutoLogin:1 WarnIfAlreadyLoggedIn:0 ShowFieldBitMask:35 RejectIfAlreadyLoggedIn:0 IPCCSilentMonitorEnabled:0 TOS:0 SwitchCapabilityBitMask:2134842367 WarnIfSilentMonitored:0))) IPCCSilentMonitoremoticonSettingsemoticonHeartBeatInterval:5 MediaTerminationPort:4000 TOS:0 MonitoringIPPort:39200 HeartbeatTimeout:15 CCMBasedSilentMonitor:0)) SoundPreferencesemoticonDTMFemoticonMute:0) DialToneemoticonMute:0) OriginatingToneemoticonMute:1) RingInToneemoticonMute:1) AllemoticonMute:0)) Versionemoticon))
06/08/2012 16:41:39.7953 CtiOsSession(31914638).MakeRequest(eIdentifyClientRequest)
06/08/2012 16:41:39.7953 CtiOsSession(31914638).MakeRequest, (ClientPasswordemoticonnull) CILClientIDemoticonFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4))
06/08/2012 16:41:39.8143 Service(32854180).PostTransmitQMessage, Waiting for Transmit Queue thread {.NETCIL: QThd(27006480):} to exit...
06/08/2012 16:41:39.8143 Service(32854180).PostTransmitQMessage, Transmit Queue thread {.NETCIL: QThd(27006480):} joined.
06/08/2012 16:41:39.8163 CtiOsSession(31914638).OnIdentifyClientConf()
06/08/2012 16:41:39.8173 CtiOsSession(31914638).OnIdentifyClientConf: (ClientPasswordemoticonnull) ClientAddress:10.20.30.106 MessageID:eIdentifyClientConf CILClientIDemoticonFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4) ProductVersion:7.1 SilentMonitorMode:1)
06/08/2012 16:41:39.8173 CilServiceEvent(43942917).ReceiverThread, eConnectionClosed received, event thread will exit
06/08/2012 16:41:39.8183 CtiOsSession(31914638).OnConnectionClosed()
06/08/2012 16:41:39.8183 CtiOsSession(31914638).OnConnectionClosed, (MessageID:eOnConnectionClosed)
06/08/2012 16:41:39.8193 CTIObject.OnEvent: Received Event: eOnConnectionClosed
Arguments: ()
06/08/2012 16:41:39.8273 CilServiceEvent(43942917).ReceiverThread, CIL Event thread exiting
06/08/2012 16:41:46.3169 ConnectAndLogin: Calling m_ctiSession.Connect() for TELEPHONY
Arguments: (PeripheralID:5000 CtiOsA:npricmdev101 CtiOsB:npricmdev101 PortA:42028 PortB:42028 Heartbeat:5 MaxHeartbeats:3 AutoLogin:1 WarnIfAlreadyLoggedIn:0 ShowFieldBitMask:35 RejectIfAlreadyLoggedIn:0 IPCCSilentMonitorEnabled:0 TOS:0 SwitchCapabilityBitMask:2134842367 WarnIfSilentMonitored:0)
06/08/2012 16:41:46.3339 CtiOsSession(31914638).NotifyConnectionRestored, Adding system event eSysCTIOSServerOnline
06/08/2012 16:41:46.3339 CTIObject.OnEvent: Received Event: eCTIOSFailureEvent
Arguments: (SystemEventID:15 FailureCode:10 StatusBarMessageemoticonffline)
06/08/2012 16:41:46.3349 SupUIMgr.procCtiOsFail: null session or not CCM silent monitor.
06/08/2012 16:41:46.3449 CTIObject.OnEvent: Received Event: eOnConnection
Arguments: (CurrentServer:npricmdev101 CurrentPort:42028)
06/08/2012 16:41:46.3729 CtiOsSession(31914638).MakeRequest(eIdentifyClientRequest)
06/08/2012 16:41:46.3729 CtiOsSession(31914638).MakeRequest, (ClientPasswordemoticonnull) CILClientIDemoticonFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4))
06/08/2012 16:41:46.3789 CtiOsSession(31914638).MakeRequest(eSetSessionModeRequest)
06/08/2012 16:41:46.3839 CtiOsSession(31914638).MakeRequest, (PeripheralID:5000 PeripheralType:0 AgentState:eUnknown AgentExtensionemoticonnull) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 SkillGroupsemoticon) UniqueObjectIDemoticonnull) ClientAgentTemporaryID:agent.1339173706 ClassIdentifier:1 IsSupervisor:0 LastErroremoticondotNET_Sess(31914638)_EvtThd(9):0) ConnectionMode:1 AutoLogin:1 SavedAgentState:9 WaitingforRecovery:0 SavedLoginInfoemoticon) CurrentProfile:UCCE IsAgentTeamMember:0 SavedAgentId:1001001 SilentMonitorTargetAgentUIDemoticonnull) SilentMonitorCallUIDemoticonnull))
06/08/2012 16:41:46.3849 CtiOsSession(31914638).OnIdentifyClientConf()
06/08/2012 16:41:46.3849 CtiOsSession(31914638).OnIdentifyClientConf: (ClientPasswordemoticonnull) ClientAddress:10.20.30.106 MessageID:eIdentifyClientConf CILClientIDemoticonFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4) ProductVersion:7.1 SilentMonitorMode:1)
06/08/2012 16:41:46.4059 [agent.5000.1001001].OnSetAgentModeEvent(eSetAgentModeEvent) : (PeripheralID:5000 PeripheralType:0 AgentState:eUnknown AgentExtensionemoticonnull) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 SkillGroupsemoticon) UniqueObjectID:agent.5000.1001001 MessageID:eSetAgentModeEvent ClientAgentTemporaryID:agent.1339173706 ClassIdentifier:1 IsSupervisor:0 LastErroremoticondotNET_Sess(31914638)_EvtThd(9):0) ConnectionMode:1 Filter:filtertarget = agent.5000.1001001 CILConnectionID:350 AutoLogin:1 SavedAgentState:9 WaitingforRecovery:0 SavedLoginInfoemoticon) StatusSystememoticonStatusCTIServer:True StatusCtiServerDriver:True StatusCentralController:True StatusPeripheralsemoticon5000:True)) CurrentProfile:UCCE IsAgentTeamMember:0 SavedAgentId:1001001 OriginatingClientIDemoticonFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4) BlockAllEvents:True SilentMonitorTargetAgentUIDemoticonnull) SilentMonitorCallUIDemoticonnull))
06/08/2012 16:41:46.4069 CTIObject.OnEvent: Received Event: eCTIOSFailureEvent
Arguments: (SystemEventID:12 FailureCode:10 StatusBarMessageemoticonffline)
06/08/2012 16:41:46.4069 SupUIMgr.procCtiOsFail: null session or not CCM silent monitor.
06/08/2012 16:41:46.4089 CTIObject.OnEvent: Received Event: eCTIOSFailureEvent
Arguments: (SystemEventID:8 FailureCode:10 StatusBarMessageemoticonffline)
06/08/2012 16:41:46.4099 SupUIMgr.procCtiOsFail: null session or not CCM silent monitor.
06/08/2012 16:41:46.4109 CTIObject.OnEvent: Received Event: eCTIOSFailureEvent
Arguments: (SystemEventID:1 FailureCode:10 StatusBarMessageemoticonffline)
06/08/2012 16:41:46.4119 SupUIMgr.procCtiOsFail: null session or not CCM silent monitor.
06/08/2012 16:41:46.4129 CTIObject.OnEvent: Received Event: eCTIOSFailureEvent
Arguments: (SystemEventID:3 FailureCode:10 StatusBarMessageemoticonnline AllOnlineForPeriph:1)
06/08/2012 16:41:46.4129 SupUIMgr.procCtiOsFail: null session or not CCM silent monitor.
06/08/2012 16:41:46.4139 CTIObject.OnEvent: Received Event: eSetAgentModeEvent
Arguments: (PeripheralID:5000 PeripheralType:0 AgentState:eUnknown AgentExtensionemoticonnull) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 SkillGroupsemoticon) UniqueObjectID:agent.5000.1001001 MessageID:eSetAgentModeEvent ClientAgentTemporaryID:agent.1339173706 ClassIdentifier:1 IsSupervisor:0 LastErroremoticondotNET_Sess(31914638)_EvtThd(9):0) ConnectionMode:1 Filter:filtertarget = agent.5000.1001001 CILConnectionID:350 AutoLogin:1 SavedAgentState:9 WaitingforRecovery:0 SavedLoginInfoemoticon) StatusSystememoticonStatusCTIServer:True StatusCtiServerDriver:True StatusCentralController:True StatusPeripheralsemoticon5000:True)) CurrentProfile:UCCE IsAgentTeamMember:0 SavedAgentId:1001001 OriginatingClientIDemoticonFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4) BlockAllEvents:True SilentMonitorTargetAgentUIDemoticonnull) SilentMonitorCallUIDemoticonnull))
06/08/2012 16:41:46.4219 SoftphoneForm.OnEvent: Event received with unrecognized EventID: eSetAgentModeEvent
06/08/2012 16:41:46.4259 [agent.5000.1001001].OnQueryAgentStateConf(eUnknown)(eQueryAgentStateConf) : (PeripheralID:5000 AgentState:eUnknown NumSkillGroups:0 MRDID:1 ICMAgentID:0 AgentMode:0 MaxTaskLimit:0 NumTasks:0 AgentExtensionemoticonnull) AgentID:1001001 AgentInstrumentemoticonnull) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStringsemoticonstring0:Insert incoming wrapup string 0 here. string1:Insert incoming wrapup string 1 here. string2:Insert incoming wrapup string 2 here. string3:Insert incoming wrapup string 3 here.) NotReadyReasonCodesemoticonInsert not ready reason code 1 here.:1 Insert not ready reason code 2 here.:2 Insert not ready reason code 3 here.:3 Insert not ready reason code 4 here.:4) LogoutReasonCodesemoticonInsert logout reason code 1 here.:1 Insert logout reason code 2 here.:2 Insert logout reason code 3 here.:3 Insert logout reason code 4 here.:4) NotReadyReasonRequired:False LogoutReasonRequired:False AgentAvailabilityStatus:0 IsAuthenticated:False)
06/08/2012 16:41:46.4269 CTIObject.OnEvent: Received Event: eQueryAgentStateConf
Arguments: (PeripheralID:5000 AgentState:eUnknown NumSkillGroups:0 MRDID:1 ICMAgentID:0 AgentMode:0 MaxTaskLimit:0 NumTasks:0 AgentExtensionemoticonnull) AgentID:1001001 AgentInstrumentemoticonnull) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStringsemoticonstring0:Insert incoming wrapup string 0 here. string1:Insert incoming wrapup string 1 here. string2:Insert incoming wrapup string 2 here. string3:Insert incoming wrapup string 3 here.) NotReadyReasonCodesemoticonInsert not ready reason code 1 here.:1 Insert not ready reason code 2 here.:2 Insert not ready reason code 3 here.:3 Insert not ready reason code 4 here.:4) LogoutReasonCodesemoticonInsert logout reason code 1 here.:1 Insert logout reason code 2 here.:2 Insert logout reason code 3 here.:3 Insert logout reason code 4 here.:4) NotReadyReasonRequired:False LogoutReasonRequired:False AgentAvailabilityStatus:0 IsAuthenticated:False)
06/08/2012 16:41:46.4390 [agent.5000.1001001].Login()
06/08/2012 16:41:46.4400 [agent.5000.1001001].Login, (PeripheralID:5000 AgentState:eLogin AgentExtensionemoticonnull) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 ClientAgentTemporaryID:agent.1339173706)
06/08/2012 16:41:46.4430 [agent.5000.1001001].SetAgentState( eLogin )
06/08/2012 16:41:46.4430 [agent.5000.1001001].SetAgentState: (PeripheralID:5000 AgentState:eLogin AgentExtensionemoticonnull) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 ClientAgentTemporaryID:agent.1339173706)
06/08/2012 16:41:46.4460 CtiOsSession(31914638).MakeRequest(eSetAgentStateRequest)
06/08/2012 16:41:46.4470 CtiOsSession(31914638).MakeRequest, (PeripheralID:5000 AgentState:eLogin AgentExtensionemoticonnull) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 UniqueObjectID:agent.5000.1001001 ClientAgentTemporaryID:agent.1339173706 ClassIdentifier:1)
06/08/2012 16:41:46.4710 CTIObject.OnEvent: Received Event: eButtonEnablementMaskChange
Arguments: (EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf)
06/08/2012 16:41:46.4920 CTIObject.OnEvent: Received Event: eSetAgentStateConf
Arguments: (UniqueObjectID:agent.5000.1001001 MessageID:eSetAgentStateConf FilterTarget:agent.5000.1001001 TargetCILClientIDemoticonFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4) BlockAllEvents:False)
06/08/2012 16:41:46.4920 SoftphoneForm.OnEvent: Event received with unrecognized EventID: eSetAgentStateConf
06/08/2012 16:41:46.4990 [agent.5000.1001001].OnQueryAgentStateConf(eUnknown)(eQueryAgentStateConf) : (PeripheralID:5000 AgentState:eUnknown NumSkillGroups:0 MRDID:1 ICMAgentID:0 AgentMode:0 MaxTaskLimit:0 NumTasks:0 AgentExtensionemoticonnull) AgentID:1001001 AgentInstrumentemoticonnull) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStringsemoticonstring0:Insert incoming wrapup string 0 here. string1:Insert incoming wrapup string 1 here. string2:Insert incoming wrapup string 2 here. string3:Insert incoming wrapup string 3 here.) NotReadyReasonCodesemoticonInsert not ready reason code 1 here.:1 Insert not ready reason code 2 here.:2 Insert not ready reason code 3 here.:3 Insert not ready reason code 4 here.:4) LogoutReasonCodesemoticonInsert logout reason code 1 here.:1 Insert logout reason code 2 here.:2 Insert logout reason code 3 here.:3 Insert logout reason code 4 here.:4) NotReadyReasonRequired:False LogoutReasonRequired:False AgentAvailabilityStatus:0 IsAuthenticated:True)
06/08/2012 16:41:46.4990 CTIObject.OnEvent: Received Event: eQueryAgentStateConf
Arguments: (PeripheralID:5000 AgentState:eUnknown NumSkillGroups:0 MRDID:1 ICMAgentID:0 AgentMode:0 MaxTaskLimit:0 NumTasks:0 AgentExtensionemoticonnull) AgentID:1001001 AgentInstrumentemoticonnull) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStringsemoticonstring0:Insert incoming wrapup string 0 here. string1:Insert incoming wrapup string 1 here. string2:Insert incoming wrapup string 2 here. string3:Insert incoming wrapup string 3 here.) NotReadyReasonCodesemoticonInsert not ready reason code 1 here.:1 Insert not ready reason code 2 here.:2 Insert not ready reason code 3 here.:3 Insert not ready reason code 4 here.:4) LogoutReasonCodesemoticonInsert logout reason code 1 here.:1 Insert logout reason code 2 here.:2 Insert logout reason code 3 here.:3 Insert logout reason code 4 here.:4) NotReadyReasonRequired:False LogoutReasonRequired:False AgentAvailabilityStatus:0 IsAuthenticated:True)
06/08/2012 16:41:46.5020 CTIObject.OnEvent: Received Event: eButtonEnablementMaskChange
Arguments: (EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf)
06/08/2012 16:41:46.5040 [agent.5000.1001001].OnAgentDeskSettingsConf(eAgentDeskSettingsConf)
06/08/2012 16:41:46.5040 CTIObject.OnEvent: Received Event: eAgentDeskSettingsConf
Arguments: (PeripheralID:5000 DeskSettingsMask:0 WrapupDataIncomingMode:4294967295 WrapupDataOutgoingMode:4294967295 LogoutNonActivityTime:4294967295 QualityRecordingRate:4294967295 RingNoAnswerTime:4294967295 WorkModeTimer:4294967295 RingNoAnswerDN:4294967295 SilentMonitorWarningMessage:4294967295 SilentMonitorAudibleIndication:4294967295 SupervisorAssistCallMethod:4294967295 EmergencyCallMethod:4294967295 AutoRecordOnEmergency:4294967295 RecordingMode:4294967295 AgentID:1001001 DefaultDevicePortAddressemoticonnull) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eAgentDeskSettingsConf NotReadyReasonRequired:False LogoutReasonRequired:False)
06/08/2012 16:41:46.5040 SoftphoneForm.OnEvent: Event received with unrecognized EventID: eAgentDeskSettingsConf
06/08/2012 16:41:46.5040 CTIObject.OnEvent: Received Event: eButtonEnablementMaskChange
Arguments: (EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eAgentDeskSettingsConf)
06/08/2012 16:41:51.5095 CTIObject.OnEvent: Received Event: eOnHeartbeat
Arguments: (EventTime:0)
06/08/2012 16:41:51.5105 SoftphoneForm.OnEvent: Event received with unrecognized EventID: eOnHeartbeat
06/08/2012 16:41:56.5050 CTIObject.OnEvent: Received Event: eOnHeartbeat
Arguments: (EventTime:0)
06/08/2012 16:41:56.5050 SoftphoneForm.OnEvent: Event received with unrecognized EventID: eOnHeartbeat
06/08/2012 16:41:56.9690 [agent.5000.1001001].GetAgentState()
06/08/2012 16:41:56.9690 CtiOsSession(31914638).MakeRequest(eIdentifyClientRequest)
06/08/2012 16:41:56.9700 CtiOsSession(31914638).MakeRequest, (ClientPasswordemoticonnull) CILClientIDemoticonFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4))
06/08/2012 16:41:56.9730 CTIObject.OnEvent: Received Event: eOnCurrentAgentReset
Arguments: (UniqueObjectID:agent.5000.1001001)
06/08/2012 16:41:56.9730 SoftphoneForm.OnEvent: Event received with unrecognized EventID: eOnCurrentAgentReset
06/08/2012 16:41:56.9740 CtiOsSession(31914638).OnIdentifyClientConf()
06/08/2012 16:41:56.9740 CtiOsSession(31914638).OnIdentifyClientConf: (ClientPasswordemoticonnull) ClientAddress:10.20.30.106 MessageID:eIdentifyClientConf CILClientIDemoticonFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4) ProductVersion:7.1 SilentMonitorMode:1)
06/08/2012 16:41:56.9770 Service(32854180).PostTransmitQMessage, Waiting for Transmit Queue thread {.NETCIL: QThd(34181910):} to exit...
06/08/2012 16:41:56.9770 Service(32854180).PostTransmitQMessage, Transmit Queue thread {.NETCIL: QThd(34181910):} joined.
06/08/2012 16:41:56.9780 CilServiceEvent(43942917).ReceiverThread, eConnectionClosed received, event thread will exit
06/08/2012 16:41:56.9780 CtiOsSession(31914638).OnConnectionClosed()
06/08/2012 16:41:56.9790 CtiOsSession(31914638).OnConnectionClosed, (MessageID:eOnConnectionClosed)
06/08/2012 16:41:56.9790 CTIObject.OnEvent: Received Event: eOnConnectionClosed
Arguments: ()
06/08/2012 16:41:57.0060 CilServiceEvent(43942917).ReceiverThread, CIL Event thread exiting


Thanks

That is the client log. Need to compare this to the CTIOS Server log showing the login attempt.

Is your .NET Cil code based on the C# combo desktop or have you created your .NET cil app from scratch?
Are you able to successfully login the agent using the C# combo desktop? With the CTIOS Agent Desktop?

Is your code requesting desktop settings after a login attempt?.

06/08/2012 16:41:46.4430 [agent.5000.1001001].SetAgentState( eLogin )

06/08/2012 16:41:46.5040 [agent.5000.1001001].OnAgentDeskSettingsConf(eAgentDeskSettingsConf)

You should request these settings BEFORE the login attempt. Also. do the login in the onSetAgentModeEvent handler.


Also, is your CTIOS Server configured for CCM or CTIOS based silent monitoring? I see a lot of SilentMonitor errors in your log snippet.

Also, what is the version of the .NET Cil compared to the version of the CTIOS Server?

We have resolved the issue after comparing the server log with the client log file.
It was a configuration issue in the server side.

Thank you so much for your assistance.

Thanks!

David Lender (474)
Shannon McCoy (91)
Arthur Shats (57)
Christopher Nagel (47)
GEOFFREY THOMPSON (40)