Created by: Naveen Lohia on 13-03-2013 07:42:45 AM Hello, We are trying to connect with CTI OS 8.0 server using the following arguments through Java CIL: rArgSessionConn.SetValue(CTIOS_CTIOSA, "172.19.150.24"); rArgSessionConn.SetValue(CTIOS_PORTA, "42027"); rArgSessionConn.SetValue(CTIOS_HEARTBEAT, "60"); rArgSessionConn.SetValue(CTIOS_CLIENTID, "PGUser4"); rArgSessionConn.SetValue(CTIOS_CLIENTPASSWORD, "Cisco@123"); and getting the following error logs:
03/13/2013 15:14:12.102 CtiOsSession(970110).FailOverConnect, Client connecting to [172.19.150.24], port  03/13/2013 15:14:12.102 NetPort(11155366).Open, Waiting for Socket to connect... 03/13/2013 15:14:12.796 CilPacket(12285785).ReadFromPort, ERROR: Read invalid packet length (0) from header 03/13/2013 15:14:12.797 CilConnection(13238549).ReadPacket, Socket read error, closing connection 03/13/2013 15:14:12.797 CilConnection(13238549).StopWatchdog, Waiting for watchdog to exit... 03/13/2013 15:14:12.798 CilConnection(13238549).WatchdogThread, Caught Watchdog shutdown event, exiting thread. 03/13/2013 15:14:12.798 CilConnection(13238549).StopWatchdog, Watchdog thread joined. 03/13/2013 15:14:12.799 CilConnection(13238549).ReadPacket, Calling OnLinkFailed( 2 (eTransportError) ) 03/13/2013 15:14:12.799 CilConnection(13238549).ReceiverThread, ReadPacket returned error. Link is presumed closed, Exiting thread. 03/13/2013 15:14:12.800 EventSink.OnConnectionFailure, Connection failed! 03/13/2013 15:14:12.801 CtiOsSession(970110).NotifyConnectionIsLost, Adding system event eSysCTIOSServerOffline 03/13/2013 15:14:12.801 CtiOsSession(970110).OnCtiOsFailure, FAILURE CODE(10) ERROR MESSAGE: CTI OS Server Offline 03/13/2013 15:14:12.802 CtiOsSession(970110).OnCtiOsFailure, Server Connection Status: CTI OS Server Offline From the logs, it seems that the error is due to some SSL settings. Setup is such that we can't make any changes on the server side. Please suggest any method to rectify the same on client side.
Subject: RE: CTI OS Server Offline on CTI OS Server-Client connection Replied by: AARNE KYLAKALLIO on 13-03-2013 09:26:14 AM Hi, typically 42027 is a cti-server port for CG1 and 42028 is for ctios-server. Are you sure you are using the rigth port?
Subject: RE: New Message from Naveen Lohia in Computer Telephony Integration Object Replied by: David Lender on 13-03-2013 12:35:49 PM The CTIOS Session Connect method does not include a ClientID or Password.
Your connect should be
// Set the connection info in the Arguments rArgSessionConn.SetValue(CTIOS_CTIOSA, m_sHostA ); rArgSessionConn.SetValue(CTIOS_PORTA, m_iPortA ); rArgSessionConn.SetValue(CTIOS_CTIOSB, m_sHostB ); rArgSessionConn.SetValue(CTIOS_PORTB, m_iPortB ); rArgSessionConn.SetValue(CTIOS_HEARTBEAT, m_iHeartBeat );
// Open the connection iRetVal = m_ctiSession.Connect(rArgSessionConn); b
Can you connect using the JavaPhone sample? With the CTIOS Agent desktop?
Subject: RE: New Message from David Lender in Computer Telephony Integration Object Replied by: David Lender on 13-03-2013 12:37:49 PM Also check the port number as was suggested it is likely 42028 rather than 42027.
Subject: RE: CTI OS Server Offline on CTI OS Server-Client connection Replied by: Naveen Lohia on 14-03-2013 12:33:49 AM Thanks David and AARNE for ur quick reply.
CTI OS server is now connected using port 42028. :-)
Hi ,I am using a custom jar file, uploaded the jar in document management, moved to Classpath using Custom File Configuration page in appadmin page. Restarted the UCCX engine, Appadmin service and UCCX editor. The methods and variables of the custom ...
Hi, Is there any scaffolding project to developing Finesse Gadgets (v12.0) with the UI of Cisco, as the stock gadget? I'm searching for an example like the Advanced Capabilities Gadget. I tried to inspect the gadget but the code is uglified.&nbs...
HiWe have problem with cisco finesse. While having CAD, we could define timer action and after 1 minute could change the agent state from not ready to ready. Is it possible to have such a feature in finesse to change Ring No Answer ( Not ready) state to r...