cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1605
Views
0
Helpful
1
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Manohar Solomon on 06-06-2012 12:56:50 PM
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

Subject: RE: New Message from Manohar Solomon in Computer Telephony Integration Obje
Replied by: David Lender on 06-06-2012 02:15:13 PM
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?

Subject: RE: CTI OS .NET CIL Sample Program - Agent State
Replied by: Manohar Solomon on 06-06-2012 04:54:36 PM
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

Subject: RE: New Message from Manohar Solomon in Computer Telephony Integration Obje
Replied by: David Lender on 07-06-2012 09:29:13 AM
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.

Subject: RE: CTI OS .NET CIL Sample Program - Agent State
Replied by: Manohar Solomon on 08-06-2012 05:52:26 PM
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 StatusBarMessageffline)
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) (MainScreenAgentStatisticsIntervalSec:15 BringToFrontOnCall:1 FlashOnCall:0 RecordingEnabled:0) TeamRealTimeColumnAutoResize:0))
06/08/2012 16:41:39.7153 CtiOsSession(31914638).DeskSetting(Grid) (SkillGroupStatisticsColumns1Type:SkillGroupNumber Header:SkillGroupNumber) 10Type:AgentsTalkingOther Header:AgentsTalkingOther) 11Type:AgentsHold Header:AgentsHold) 12Type:AgentsReserved Header:AgentsReserved) 13Type:AgentsBusyOther Header:AgentsBusyOther) 14Type:AgentsWorkNotReady Header:AgentsWorkNotReady) 15Type:AgentsWorkReady Header:AgentsWorkReady) 16Type:HandledCallsToday Header:HandledCallsToday) 17Type:HandledCallsTalkTimeToday Header:HandledCallsTalkTimeToday) 2Type:SkillGroupName Header:SkillGroupName) 3Type:RouterCallsQNow Header:RouterCallsQNow) 4Type:LongestRouterCallQNow Header:LongestRouterCallQNow) 5Type:AgentsLoggedOn Header:AgentsLoggedOn) 6Type:AgentsNotReady Header:AgentsNotReady) 7Type:AgentsReady Header:AgentsReady) 8Type:AgentsTalkingIn Header:AgentsTalkingIn) 9Type:AgentsTalkingOut Header:AgentsTalkingOut))) AgentStatisticsColumns1Type:CallsHandledToday Header:CallsHandledToday) 2Type:HandledCallsTimeToday Header:HandledCallsTimeToday) 3Type:TimeTalkingToday Header:TimeTalkingToday) 4Type:TimeHoldingToday Header:TimeHoldingToday) 5Type:TimeReadyToday Header:TimeReadyToday) 6Type:TimeNotReadyToday Header:TimeNotReadyToday))) CallAppearanceColumns1Type:CallID Header:CallID) 10Type pac-man ar2 Header pac-man ar2 editable:true maxchars:40) 11Type pac-man ar3 Header pac-man ar3 editable:true maxchars:40) 12Type pac-man ar4 Header pac-man ar4 editable:true maxchars:40) 13Type pac-man ar5 Header pac-man ar5 editable:true maxchars:40) 14Type pac-man ar6 Header pac-man ar6 editable:true maxchars:40) 15Type pac-man ar7 Header pac-man ar7 editable:true maxchars:40) 16Type pac-man ar8 Header pac-man ar8 editable:true maxchars:40) 17Type pac-man ar9 Header pac-man ar9 editable:true maxchars:40) 18Type pac-man ar10 Header pac-man ar10 editable:true maxchars:40) 2Type:CallStatus Header:CallStatus) 3Type:CallType Header:CallType) 4TypeNIS HeaderNIS) 5Type:ANI Header:ANI) 6Type:CED Header:CED) 7TypeialedNumber HeaderialedNumber) 8Type:Wrapup Header:Wrapup editable:true maxchars:39) 9Type pac-man ar1 Header pac-man ar1 editable:true maxchars:40))))
06/08/2012 16:41:39.7153 CtiOsSession(31914638).DeskSetting(Login) (ConnectionProfilesUCCEPeripheralID: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) (SettingsHeartBeatInterval:5 MediaTerminationPort:4000 TOS:0 MonitoringIPPort:39200 HeartbeatTimeout:15 CCMBasedSilentMonitor:0))
06/08/2012 16:41:39.7163 CtiOsSession(31914638).DeskSetting(SoundPreferences) (DTMFMute:0) DialToneMute:0) OriginatingToneMute:1) RingInToneMute:1) AllMute: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: (ScreenPreferencesMainScreenAgentStatisticsIntervalSec:15 BringToFrontOnCall:1 FlashOnCall:0 RecordingEnabled:0) TeamRealTimeColumnAutoResize:0)) GridSkillGroupStatisticsColumns1Type:SkillGroupNumber Header:SkillGroupNumber) 10Type:AgentsTalkingOther Header:AgentsTalkingOther) 11Type:AgentsHold Header:AgentsHold) 12Type:AgentsReserved Header:AgentsReserved) 13Type:AgentsBusyOther Header:AgentsBusyOther) 14Type:AgentsWorkNotReady Header:AgentsWorkNotReady) 15Type:AgentsWorkReady Header:AgentsWorkReady) 16Type:HandledCallsToday Header:HandledCallsToday) 17Type:HandledCallsTalkTimeToday Header:HandledCallsTalkTimeToday) 2Type:SkillGroupName Header:SkillGroupName) 3Type:RouterCallsQNow Header:RouterCallsQNow) 4Type:LongestRouterCallQNow Header:LongestRouterCallQNow) 5Type:AgentsLoggedOn Header:AgentsLoggedOn) 6Type:AgentsNotReady Header:AgentsNotReady) 7Type:AgentsReady Header:AgentsReady) 8Type:AgentsTalkingIn Header:AgentsTalkingIn) 9Type:AgentsTalkingOut Header:AgentsTalkingOut))) AgentStatisticsColumns1Type:CallsHandledToday Header:CallsHandledToday) 2Type:HandledCallsTimeToday Header:HandledCallsTimeToday) 3Type:TimeTalkingToday Header:TimeTalkingToday) 4Type:TimeHoldingToday Header:TimeHoldingToday) 5Type:TimeReadyToday Header:TimeReadyToday) 6Type:TimeNotReadyToday Header:TimeNotReadyToday))) CallAppearanceColumns1Type:CallID Header:CallID) 10Type pac-man ar2 Header pac-man ar2 editable:true maxchars:40) 11Type pac-man ar3 Header pac-man ar3 editable:true maxchars:40) 12Type pac-man ar4 Header pac-man ar4 editable:true maxchars:40) 13Type pac-man ar5 Header pac-man ar5 editable:true maxchars:40) 14Type pac-man ar6 Header pac-man ar6 editable:true maxchars:40) 15Type pac-man ar7 Header pac-man ar7 editable:true maxchars:40) 16Type pac-man ar8 Header pac-man ar8 editable:true maxchars:40) 17Type pac-man ar9 Header pac-man ar9 editable:true maxchars:40) 18Type pac-man ar10 Header pac-man ar10 editable:true maxchars:40) 2Type:CallStatus Header:CallStatus) 3Type:CallType Header:CallType) 4TypeNIS HeaderNIS) 5Type:ANI Header:ANI) 6Type:CED Header:CED) 7TypeialedNumber HeaderialedNumber) 8Type:Wrapup Header:Wrapup editable:true maxchars:39) 9Type pac-man ar1 Header pac-man ar1 editable:true maxchars:40)))) LoginConnectionProfilesUCCEPeripheralID: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))) IPCCSilentMonitorSettingsHeartBeatInterval:5 MediaTerminationPort:4000 TOS:0 MonitoringIPPort:39200 HeartbeatTimeout:15 CCMBasedSilentMonitor:0)) SoundPreferencesDTMFMute:0) DialToneMute:0) OriginatingToneMute:1) RingInToneMute:1) AllMute:0)) Version))
06/08/2012 16:41:39.7953 CtiOsSession(31914638).MakeRequest(eIdentifyClientRequest)
06/08/2012 16:41:39.7953 CtiOsSession(31914638).MakeRequest, (ClientPasswordnull) CILClientIDFI-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: (ClientPasswordnull) ClientAddress:10.20.30.106 MessageID:eIdentifyClientConf CILClientIDFI-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 StatusBarMessageffline)
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, (ClientPasswordnull) CILClientIDFI-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 AgentExtensionnull) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 SkillGroups) UniqueObjectIDnull) ClientAgentTemporaryID:agent.1339173706 ClassIdentifier:1 IsSupervisor:0 LastErrordotNET_Sess(31914638)_EvtThd(9):0) ConnectionMode:1 AutoLogin:1 SavedAgentState:9 WaitingforRecovery:0 SavedLoginInfo) CurrentProfile:UCCE IsAgentTeamMember:0 SavedAgentId:1001001 SilentMonitorTargetAgentUIDnull) SilentMonitorCallUIDnull))
06/08/2012 16:41:46.3849 CtiOsSession(31914638).OnIdentifyClientConf()
06/08/2012 16:41:46.3849 CtiOsSession(31914638).OnIdentifyClientConf: (ClientPasswordnull) ClientAddress:10.20.30.106 MessageID:eIdentifyClientConf CILClientIDFI-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 AgentExtensionnull) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 SkillGroups) UniqueObjectID:agent.5000.1001001 MessageID:eSetAgentModeEvent ClientAgentTemporaryID:agent.1339173706 ClassIdentifier:1 IsSupervisor:0 LastErrordotNET_Sess(31914638)_EvtThd(9):0) ConnectionMode:1 Filter:filtertarget = agent.5000.1001001 CILConnectionID:350 AutoLogin:1 SavedAgentState:9 WaitingforRecovery:0 SavedLoginInfo) StatusSystemStatusCTIServer:True StatusCtiServerDriver:True StatusCentralController:True StatusPeripherals5000:True)) CurrentProfile:UCCE IsAgentTeamMember:0 SavedAgentId:1001001 OriginatingClientIDFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4) BlockAllEvents:True SilentMonitorTargetAgentUIDnull) SilentMonitorCallUIDnull))
06/08/2012 16:41:46.4069 CTIObject.OnEvent: Received Event: eCTIOSFailureEvent
Arguments: (SystemEventID:12 FailureCode:10 StatusBarMessageffline)
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 StatusBarMessageffline)
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 StatusBarMessageffline)
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 StatusBarMessagenline 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 AgentExtensionnull) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 SkillGroups) UniqueObjectID:agent.5000.1001001 MessageID:eSetAgentModeEvent ClientAgentTemporaryID:agent.1339173706 ClassIdentifier:1 IsSupervisor:0 LastErrordotNET_Sess(31914638)_EvtThd(9):0) ConnectionMode:1 Filter:filtertarget = agent.5000.1001001 CILConnectionID:350 AutoLogin:1 SavedAgentState:9 WaitingforRecovery:0 SavedLoginInfo) StatusSystemStatusCTIServer:True StatusCtiServerDriver:True StatusCentralController:True StatusPeripherals5000:True)) CurrentProfile:UCCE IsAgentTeamMember:0 SavedAgentId:1001001 OriginatingClientIDFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4) BlockAllEvents:True SilentMonitorTargetAgentUIDnull) SilentMonitorCallUIDnull))
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 AgentExtensionnull) AgentID:1001001 AgentInstrumentnull) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStringsstring0: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.) NotReadyReasonCodesInsert 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) LogoutReasonCodesInsert 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 AgentExtensionnull) AgentID:1001001 AgentInstrumentnull) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStringsstring0: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.) NotReadyReasonCodesInsert 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) LogoutReasonCodesInsert 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 AgentExtensionnull) 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 AgentExtensionnull) 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 AgentExtensionnull) 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 TargetCILClientIDFI-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 AgentExtensionnull) AgentID:1001001 AgentInstrumentnull) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStringsstring0: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.) NotReadyReasonCodesInsert 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) LogoutReasonCodesInsert 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 AgentExtensionnull) AgentID:1001001 AgentInstrumentnull) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStringsstring0: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.) NotReadyReasonCodesInsert 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) LogoutReasonCodesInsert 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 DefaultDevicePortAddressnull) 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, (ClientPasswordnull) CILClientIDFI-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: (ClientPasswordnull) ClientAddress:10.20.30.106 MessageID:eIdentifyClientConf CILClientIDFI-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

Subject: RE: CTI OS .NET CIL Sample Program - Agent State
Replied by: David Lender on 11-06-2012 11:07:53 AM
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.

Subject: RE: CTI OS .NET CIL Sample Program - Agent State
Replied by: David Lender on 11-06-2012 11:11:33 AM
Also, what is the version of the .NET Cil compared to the version of the CTIOS Server?

Subject: RE: CTI OS .NET CIL Sample Program - Agent State
Replied by: Manohar Solomon on 12-06-2012 06:15:26 PM
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!
Comments
Cesar Ortega
Level 1
Level 1

Hi Manohar,

Can you please tell me what did you change in the server side to make things work? I'm having the same issue.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links