<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>CTIOS Web Service on iPad</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_category?p_l_id=23161&amp;mbCategoryId=0" />
  <subtitle>CTIOS Web Service on iPad</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_category?p_l_id=23161&amp;mbCategoryId=0</id>
  <updated>2013-06-20T11:06:29Z</updated>
  <dc:date>2013-06-20T11:06:29Z</dc:date>
  <entry>
    <title>RE: CTI OS .NET CIL Sample Program - Agent State</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5855748" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5855748</id>
    <updated>2012-06-12T23:15:26Z</updated>
    <published>2012-06-12T23:15:26Z</published>
    <summary type="html">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!</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-06-12T23:15:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: CTI OS .NET CIL Sample Program - Agent State</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5842678" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5842678</id>
    <updated>2012-06-08T22:52:26Z</updated>
    <published>2012-06-08T22:52:26Z</published>
    <summary type="html">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 StatusBarMessage:Offline)
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) (MainScreen:(AgentStatisticsIntervalSec:15 BringToFrontOnCall:1 FlashOnCall:0 RecordingEnabled:0) TeamRealTime:(ColumnAutoResize:0))
06/08/2012 16:41:39.7153 CtiOsSession(31914638).DeskSetting(Grid) (SkillGroupStatistics:(Columns:(1:(Type:SkillGroupNumber Header:SkillGroupNumber) 10:(Type:AgentsTalkingOther Header:AgentsTalkingOther) 11:(Type:AgentsHold Header:AgentsHold) 12:(Type:AgentsReserved Header:AgentsReserved) 13:(Type:AgentsBusyOther Header:AgentsBusyOther) 14:(Type:AgentsWorkNotReady Header:AgentsWorkNotReady) 15:(Type:AgentsWorkReady Header:AgentsWorkReady) 16:(Type:HandledCallsToday Header:HandledCallsToday) 17:(Type:HandledCallsTalkTimeToday Header:HandledCallsTalkTimeToday) 2:(Type:SkillGroupName Header:SkillGroupName) 3:(Type:RouterCallsQNow Header:RouterCallsQNow) 4:(Type:LongestRouterCallQNow Header:LongestRouterCallQNow) 5:(Type:AgentsLoggedOn Header:AgentsLoggedOn) 6:(Type:AgentsNotReady Header:AgentsNotReady) 7:(Type:AgentsReady Header:AgentsReady) 8:(Type:AgentsTalkingIn Header:AgentsTalkingIn) 9:(Type:AgentsTalkingOut Header:AgentsTalkingOut))) AgentStatistics:(Columns:(1:(Type:CallsHandledToday Header:CallsHandledToday) 2:(Type:HandledCallsTimeToday Header:HandledCallsTimeToday) 3:(Type:TimeTalkingToday Header:TimeTalkingToday) 4:(Type:TimeHoldingToday Header:TimeHoldingToday) 5:(Type:TimeReadyToday Header:TimeReadyToday) 6:(Type:TimeNotReadyToday Header:TimeNotReadyToday))) CallAppearance:(Columns:(1:(Type:CallID Header:CallID) 10:(Type:Var2 Header:Var2 editable:true maxchars:40) 11:(Type:Var3 Header:Var3 editable:true maxchars:40) 12:(Type:Var4 Header:Var4 editable:true maxchars:40) 13:(Type:Var5 Header:Var5 editable:true maxchars:40) 14:(Type:Var6 Header:Var6 editable:true maxchars:40) 15:(Type:Var7 Header:Var7 editable:true maxchars:40) 16:(Type:Var8 Header:Var8 editable:true maxchars:40) 17:(Type:Var9 Header:Var9 editable:true maxchars:40) 18:(Type:Var10 Header:Var10 editable:true maxchars:40) 2:(Type:CallStatus Header:CallStatus) 3:(Type:CallType Header:CallType) 4:(Type:DNIS Header:DNIS) 5:(Type:ANI Header:ANI) 6:(Type:CED Header:CED) 7:(Type:DialedNumber Header:DialedNumber) 8:(Type:Wrapup Header:Wrapup editable:true maxchars:39) 9:(Type:Var1 Header:Var1 editable:true maxchars:40))))
06/08/2012 16:41:39.7153 CtiOsSession(31914638).DeskSetting(Login) (ConnectionProfiles:(UCCE:(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:39.7153 CtiOsSession(31914638).DeskSetting(IPCCSilentMonitor) (Settings:(HeartBeatInterval:5 MediaTerminationPort:4000 TOS:0 MonitoringIPPort:39200 HeartbeatTimeout:15 CCMBasedSilentMonitor:0))
06/08/2012 16:41:39.7163 CtiOsSession(31914638).DeskSetting(SoundPreferences) (DTMF:(Mute:0) DialTone:(Mute:0) OriginatingTone:(Mute:1) RingInTone:(Mute:1) All:(Mute: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: (ScreenPreferences:(MainScreen:(AgentStatisticsIntervalSec:15 BringToFrontOnCall:1 FlashOnCall:0 RecordingEnabled:0) TeamRealTime:(ColumnAutoResize:0)) Grid:(SkillGroupStatistics:(Columns:(1:(Type:SkillGroupNumber Header:SkillGroupNumber) 10:(Type:AgentsTalkingOther Header:AgentsTalkingOther) 11:(Type:AgentsHold Header:AgentsHold) 12:(Type:AgentsReserved Header:AgentsReserved) 13:(Type:AgentsBusyOther Header:AgentsBusyOther) 14:(Type:AgentsWorkNotReady Header:AgentsWorkNotReady) 15:(Type:AgentsWorkReady Header:AgentsWorkReady) 16:(Type:HandledCallsToday Header:HandledCallsToday) 17:(Type:HandledCallsTalkTimeToday Header:HandledCallsTalkTimeToday) 2:(Type:SkillGroupName Header:SkillGroupName) 3:(Type:RouterCallsQNow Header:RouterCallsQNow) 4:(Type:LongestRouterCallQNow Header:LongestRouterCallQNow) 5:(Type:AgentsLoggedOn Header:AgentsLoggedOn) 6:(Type:AgentsNotReady Header:AgentsNotReady) 7:(Type:AgentsReady Header:AgentsReady) 8:(Type:AgentsTalkingIn Header:AgentsTalkingIn) 9:(Type:AgentsTalkingOut Header:AgentsTalkingOut))) AgentStatistics:(Columns:(1:(Type:CallsHandledToday Header:CallsHandledToday) 2:(Type:HandledCallsTimeToday Header:HandledCallsTimeToday) 3:(Type:TimeTalkingToday Header:TimeTalkingToday) 4:(Type:TimeHoldingToday Header:TimeHoldingToday) 5:(Type:TimeReadyToday Header:TimeReadyToday) 6:(Type:TimeNotReadyToday Header:TimeNotReadyToday))) CallAppearance:(Columns:(1:(Type:CallID Header:CallID) 10:(Type:Var2 Header:Var2 editable:true maxchars:40) 11:(Type:Var3 Header:Var3 editable:true maxchars:40) 12:(Type:Var4 Header:Var4 editable:true maxchars:40) 13:(Type:Var5 Header:Var5 editable:true maxchars:40) 14:(Type:Var6 Header:Var6 editable:true maxchars:40) 15:(Type:Var7 Header:Var7 editable:true maxchars:40) 16:(Type:Var8 Header:Var8 editable:true maxchars:40) 17:(Type:Var9 Header:Var9 editable:true maxchars:40) 18:(Type:Var10 Header:Var10 editable:true maxchars:40) 2:(Type:CallStatus Header:CallStatus) 3:(Type:CallType Header:CallType) 4:(Type:DNIS Header:DNIS) 5:(Type:ANI Header:ANI) 6:(Type:CED Header:CED) 7:(Type:DialedNumber Header:DialedNumber) 8:(Type:Wrapup Header:Wrapup editable:true maxchars:39) 9:(Type:Var1 Header:Var1 editable:true maxchars:40)))) Login:(ConnectionProfiles:(UCCE:(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))) IPCCSilentMonitor:(Settings:(HeartBeatInterval:5 MediaTerminationPort:4000 TOS:0 MonitoringIPPort:39200 HeartbeatTimeout:15 CCMBasedSilentMonitor:0)) SoundPreferences:(DTMF:(Mute:0) DialTone:(Mute:0) OriginatingTone:(Mute:1) RingInTone:(Mute:1) All:(Mute:0)) Version:())
06/08/2012 16:41:39.7953 CtiOsSession(31914638).MakeRequest(eIdentifyClientRequest)
06/08/2012 16:41:39.7953 CtiOsSession(31914638).MakeRequest, (ClientPassword:(null) CILClientID:OFI-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: (ClientPassword:(null) ClientAddress:10.20.30.106 MessageID:eIdentifyClientConf CILClientID:OFI-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 StatusBarMessage:Offline)
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, (ClientPassword:(null) CILClientID:OFI-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 AgentExtension:(null) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 SkillGroups:() UniqueObjectID:(null) ClientAgentTemporaryID:agent.1339173706 ClassIdentifier:1 IsSupervisor:0 LastError:(dotNET_Sess(31914638)_EvtThd(9):0) ConnectionMode:1 AutoLogin:1 SavedAgentState:9 WaitingforRecovery:0 SavedLoginInfo:() CurrentProfile:UCCE IsAgentTeamMember:0 SavedAgentId:1001001 SilentMonitorTargetAgentUID:(null) SilentMonitorCallUID:(null))
06/08/2012 16:41:46.3849 CtiOsSession(31914638).OnIdentifyClientConf()
06/08/2012 16:41:46.3849 CtiOsSession(31914638).OnIdentifyClientConf: (ClientPassword:(null) ClientAddress:10.20.30.106 MessageID:eIdentifyClientConf CILClientID:OFI-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 AgentExtension:(null) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 SkillGroups:() UniqueObjectID:agent.5000.1001001 MessageID:eSetAgentModeEvent ClientAgentTemporaryID:agent.1339173706 ClassIdentifier:1 IsSupervisor:0 LastError:(dotNET_Sess(31914638)_EvtThd(9):0) ConnectionMode:1 Filter:filtertarget = agent.5000.1001001 CILConnectionID:350 AutoLogin:1 SavedAgentState:9 WaitingforRecovery:0 SavedLoginInfo:() StatusSystem:(StatusCTIServer:True StatusCtiServerDriver:True StatusCentralController:True StatusPeripherals:(5000:True)) CurrentProfile:UCCE IsAgentTeamMember:0 SavedAgentId:1001001 OriginatingClientID:OFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4) BlockAllEvents:True SilentMonitorTargetAgentUID:(null) SilentMonitorCallUID:(null))
06/08/2012 16:41:46.4069 CTIObject.OnEvent: Received Event: eCTIOSFailureEvent
	Arguments: (SystemEventID:12 FailureCode:10 StatusBarMessage:Offline)
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 StatusBarMessage:Offline)
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 StatusBarMessage:Offline)
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 StatusBarMessage:Online 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 AgentExtension:(null) AgentID:1001001 AgentInstrument:1000003 AgentPassword:4444 SkillGroups:() UniqueObjectID:agent.5000.1001001 MessageID:eSetAgentModeEvent ClientAgentTemporaryID:agent.1339173706 ClassIdentifier:1 IsSupervisor:0 LastError:(dotNET_Sess(31914638)_EvtThd(9):0) ConnectionMode:1 Filter:filtertarget = agent.5000.1001001 CILConnectionID:350 AutoLogin:1 SavedAgentState:9 WaitingforRecovery:0 SavedLoginInfo:() StatusSystem:(StatusCTIServer:True StatusCtiServerDriver:True StatusCentralController:True StatusPeripherals:(5000:True)) CurrentProfile:UCCE IsAgentTeamMember:0 SavedAgentId:1001001 OriginatingClientID:OFI-PC-5472-dotNET_Sess(31914638)_EvtThd(4) BlockAllEvents:True SilentMonitorTargetAgentUID:(null) SilentMonitorCallUID:(null))
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 AgentExtension:(null) AgentID:1001001 AgentInstrument:(null) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStrings:(string0: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.) NotReadyReasonCodes:(Insert 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) LogoutReasonCodes:(Insert 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 AgentExtension:(null) AgentID:1001001 AgentInstrument:(null) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStrings:(string0: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.) NotReadyReasonCodes:(Insert 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) LogoutReasonCodes:(Insert 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 AgentExtension:(null) 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 AgentExtension:(null) 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 AgentExtension:(null) 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 TargetCILClientID:OFI-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 AgentExtension:(null) AgentID:1001001 AgentInstrument:(null) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStrings:(string0: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.) NotReadyReasonCodes:(Insert 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) LogoutReasonCodes:(Insert 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 AgentExtension:(null) AgentID:1001001 AgentInstrument:(null) EnablementMask:0x1000000 UniqueObjectID:agent.5000.1001001 MessageID:eQueryAgentStateConf IncomingWrapupStrings:(string0: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.) NotReadyReasonCodes:(Insert 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) LogoutReasonCodes:(Insert 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 DefaultDevicePortAddress:(null) 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, (ClientPassword:(null) CILClientID:OFI-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: (ClientPassword:(null) ClientAddress:10.20.30.106 MessageID:eIdentifyClientConf CILClientID:OFI-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</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-06-08T22:52:26Z</dc:date>
  </entry>
  <entry>
    <title>RE: CTI OS .NET CIL Sample Program - Agent State</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5833499" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5833499</id>
    <updated>2012-06-06T21:54:36Z</updated>
    <published>2012-06-06T21:54:36Z</published>
    <summary type="html">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 Eve[b]nt: [color=#f10626]- [size=3]AgentState:9[/size][[/color]/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: - [size=3][b]IsAuthenticated:True[/b][/size]</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-06-06T21:54:36Z</dc:date>
  </entry>
  <entry>
    <title>CTI OS .NET CIL Sample Program - Agent State</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5832893" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5832893</id>
    <updated>2012-06-06T17:56:50Z</updated>
    <published>2012-06-06T17:56:50Z</published>
    <summary type="html">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</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-06-06T17:56:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: Error in connecting to the ctiserversim from ctitest.exe</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5798181" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5798181</id>
    <updated>2012-05-30T23:26:18Z</updated>
    <published>2012-05-30T23:26:18Z</published>
    <summary type="html">I guess i found the answer ctiserversim will not work with 8.0.x Hope am right??</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-05-30T23:26:18Z</dc:date>
  </entry>
  <entry>
    <title>Error in connecting to the ctiserversim from ctitest.exe</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5798137" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5798137</id>
    <updated>2012-05-30T23:04:50Z</updated>
    <published>2012-05-30T22:51:45Z</published>
    <summary type="html">I get the following error when i try to connect from the ctitest to the ctiserversim given as part of the CTIOS Toolkit
 
CTITest: open
CTITest: 16:42:05 Trace:
16:42:05 Trace: ... session #1 trying CTI Server on side A (10.20.30.125 port 20
04)
16:42:05 Trace: ... session #1 connected to side A after 4 ms.
16:42:09 Failed (Socket error 10054) reading from socket connection to Host 10.2
0.30.125, Service 2004.
  Last API Error [10054]: An existing connection was forcibly closed by the remo
te host.
16:42:09 Trace: ... session #1 connection was closed
16:42:09 Trace: ... session #1 closed after 4 seconds
16:42:12 Trace: ... session #2 connected to side A after 1 ms.
16:42:16 Failed (Socket error 10054) reading from socket connection to Host 10.2
0.30.125, Service 2004.
  Last API Error [10054]: An existing connection was forcibly closed by the remo
te host.
16:42:16 Trace: ... session #2 connection was closed
16:42:16 Trace: ... session #2 closed after 4 seconds
16:42:20 Trace: ... session #3 connected to side A after 1 ms.
 
I have congifure the ctitest as per the documentation and running the ctiserversim on port 2004. 
 
why is the connecting getting forcibly closed?
 
I also get this error on the ctiserversim console 
 

CTransport::ListenForConnections Listening on socket
CClient(1)::MainThread &gt;&gt;
CClient(1)::MainThread spawn sender and receive threads
Decode length error: element "AgentID",
FieldLength 53, MaxBytes 11
CClient(1)::MsgHandler invalid CTI message from CTIOS
msgType=3
CClient(1)::MainThread Handler thread quit
CClient(1)::MainThread Waiting for handler thread to quit
CClient(1)::MainThread Waiting for send thread to quit
CTransport::RecvBytes socket error(10053)
CTransport::RecvMessage RecvBytes for header failed
CClient(1)::MsgReceiver RecvMessage failed
CTransport::Disconnect Connection closed</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-05-30T22:51:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: CTI Server custom monitoring/logging?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5775355" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5775355</id>
    <updated>2012-05-24T18:12:15Z</updated>
    <published>2012-05-24T18:12:15Z</published>
    <summary type="html">Thank you David</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-05-24T18:12:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Cisco CTIOS Thin Client Framework - download link?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5775315" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5775315</id>
    <updated>2012-05-24T17:48:40Z</updated>
    <published>2012-05-24T17:48:40Z</published>
    <summary type="html">Thanks for the quick reply. Is there a trial option for the web services? Also I have posted another question with the URL below.

http://developer.cisco.com/web/ctios/forums/-/message_boards/view_message/5775302

Can I achieve the same thing using the web services option?

Thanks</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-05-24T17:48:40Z</dc:date>
  </entry>
  <entry>
    <title>CTI Server custom monitoring/logging?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5775302" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5775302</id>
    <updated>2012-05-24T17:40:21Z</updated>
    <published>2012-05-24T17:40:21Z</published>
    <summary type="html">I am using CTI ActiveX control to get information from the CTI server. I would like to receive the same data from CTI Server to my own server(CTIOS .NET Client). Basically I need to get a hanlde to all the CTI push messages that are sent to different agent's to this single server. Planning to do some custom monitoring/logging based on the received messages.
 
Thanks</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-05-24T17:40:21Z</dc:date>
  </entry>
  <entry>
    <title>Cisco CTIOS Thin Client Framework - download link?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5775234" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5775234</id>
    <updated>2012-05-24T17:25:30Z</updated>
    <published>2012-05-24T17:25:30Z</published>
    <summary type="html">Where can we download "Cisco CTIOS Thin Client Framework"?
 
Thanks</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-05-24T17:25:30Z</dc:date>
  </entry>
  <entry>
    <title>RE: Does CTIOS Toolkit support iPad application development?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5766463" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5766463</id>
    <updated>2012-05-22T22:01:58Z</updated>
    <published>2012-05-22T22:01:58Z</published>
    <summary type="html">Thanks David for your quick reply.</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-05-22T22:01:58Z</dc:date>
  </entry>
  <entry>
    <title>Does CTIOS Toolkit support iPad application development?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5764291" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5764291</id>
    <updated>2012-05-22T21:00:32Z</updated>
    <published>2012-05-22T21:00:32Z</published>
    <summary type="html">Does CTIOS Toolkit support iPad application development (Object C)? 
Please advice me, How to do that in iPad?
 
Thanks in Advance</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-05-22T21:00:32Z</dc:date>
  </entry>
  <entry>
    <title>CTIOS Web Service on iPad</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5763855" />
    <author>
      <name>Manohar Solomon</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=23161&amp;messageId=5763855</id>
    <updated>2012-05-22T17:16:55Z</updated>
    <published>2012-05-22T17:15:59Z</published>
    <summary type="html">Can we use CTIOS Web Service from an iPad application? If so, How can we use it? Can anybody exmplain this in details?
 
Thanks in Advance.</summary>
    <dc:creator>Manohar Solomon</dc:creator>
    <dc:date>2012-05-22T17:15:59Z</dc:date>
  </entry>
</feed>

