Created by: Ammar Ahmed on 16-10-2009 09:39:51 PM I just got the CTIOS media kit cd. After installation and configuration when I started CTI Server simulator (CTIOS service is already started) it (simulator console) gives the following error Following is the log for the simulator. --------------------- Console for Simulator when CTIOS service is started ---------------------
CTransport::ListenForConnections Accepted socket connection Creating new client slot = 1 AddClientMapEntry: Adding client to client map slot = 1 CClient(1)::MainThread >> CClient(1)::MainThread spawn sender and receive threads CClientListener::ListenerThread ListenForConnections CTransport::ListenForConnections Listening on socket Invalid floating field tag 0 (0x0) in message 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:isconnect Connection closed CClient(1)::MainThread Waiting for receive thread to quit CClient(1)::MainThread ChildOfServer <<
Following is the log for CTIOS. -----------------------------------Logs for CTIOS service when it is started --------------------------
ctios was started with 10 arguments arg 0: C:\ICM\CTIOS_bin\CtiosServerNode arg 1: ctios arg 2: DIRTY arg 3: SIMPLEX arg 4: A arg 5: C:\ICM\COS1\CTIOS1 arg 6: 255 arg 7: ICM\COS1\CTIOS1 arg 8: COS1 arg 9: CTIOS1 03:34:13 LogWrapper::LaunchTraceServer, started 03:34:13 LogWrapper::WaitForServerWindowHandle(1) 03:34:14 LogWrapper::WaitForServerWindowHandle(1), finished 03:34:14 LogWrapper::WaitForServerWindowHandle(3) 03:34:14 LogWrapper::WaitForServerWindowHandle(3), finished 03:34:14 LogWrapper::LaunchTraceServer, finished 03:34:14 LogWrapper::RegisterWithTraceServer, sending registration 03:34:14.071 LogWrapper::Start, WaitThread started successfully. 03:34:14 LogWrapper::LaunchTraceServer, started 03:34:14 LogWrapper::WaitForServerWindowHandle(1) 03:34:15 LogWrapper::WaitForServerWindowHandle(1), finished 03:34:15 LogWrapper::WaitForServerWindowHandle(3) 03:34:15 LogWrapper::WaitForServerWindowHandle(3), finished 03:34:15 LogWrapper::LaunchTraceServer, finished 03:34:15 LogWrapper::RegisterWithTraceServer, sending registration 03:34:15.071 LogWrapper::Start, ServerMonitorThread started successfully. 03:34:15.071 LogWrapper::Start, Debug Output is ON. 03:34:15.071 LogWrapper::Start, Screen Output is ON. 03:34:15.071 LogWrapper::Start, WaitThread started successfully. 03:34:15.071 CGlobalExceptionHandler::InstallGlobalExceptionHandler() 03:34:15.071 CGlobalExceptionHandler:runeMiniDumpFiles() 03:34:15.071 CGlobalExceptionHandler:runeMiniDumpFiles -- There are no files matching the pattern. 03:34:15.071 CTIOS Server unique instance name [COS1]. 03:34:15.071 CTIOS Server unique component number [CTIOS1]. 03:34:15.071 CTIOS Server unique registry name [CTIOS_COS1\CTIOS1]. 03:34:15.071 CTIOS Server unique console title name [COS1_CTIOS1 ctios server]. 03:34:15.071 CTIOS Server unique name for events, semaphores, etc... [CTIOS_COS1_CTIOS1_CtiosServer]. 03:34:15.071 CTitleBarMsg::CTitleBarMsg(), disabling quick edit mode... 03:34:15.071 CTitleBarMsg::CTitleBarMsg(), quick edit mode is disabled. 03:34:15.071 COS1_CTIOS1 ctios server [7.0 07383] 03:34:15.071 LogWrapper::Trace(uint, TCHAR, va_list), caught exception. 03:34:15.071 CConfigurationServer::ReadSecurityConfig(), security path [C:\ICM\COS1\CTIOS1\Security\] 03:34:15.071 CConfigurationServer::ReadSecurityConfig(), security is disabled 03:34:15.071 CConfigurationServer::ReadSecurityConfig(), NumBytesRenegotiation[1073741824] 03:34:15.071 CGenericStorage::GetDataFromRegistry(). Table Not found in the registry. 03:34:15.071 CGenericStorage::GetDataFromRegistry(). Table Not found in the registry. 03:34:15.071 CGenericStorage::GetDataFromRegistry(). Table Not found in the registry. 03:34:15.087 CGenericStorage::GetDataFromRegistry(). Table Not found in the registry. 03:34:15.087 CGenericStorage::GetColumnNamesFromRegistry(). RegEnumKeyEx() failed. No Data Found. 03:34:15.087 CGenericStorage::GetDataFromRegistry(). GetColumnNamesFromRegistry failed. Error :: -103 03:34:15.087 StartThreads, Starting 6 IOCP worker threads 03:34:15.087 WorkerThread, started ThreadID[3812] 03:34:15.087 WorkerThread, started ThreadID[3460] 03:34:15.087 WorkerThread, started ThreadID[ 316] 03:34:15.087 WorkerThread, started ThreadID[2428] 03:34:15.087 Connection Settings: ListenPort: 42028, TOS: 0, ClientPoolInitialSize: 500, ClientPoolMinSize: 50, ClientPoolIncrement: 25, AcceptPoolSize: 200, KeepAliveEnable: 1, KeepAliveInterval: 5000, KeepAliveTime: 3000 03:34:15.087 WorkerThread, started ThreadID[2348] 03:34:15.087 WorkerThread, started ThreadID[2764] 03:34:15.087 ServiceBroker:StartTrashCollector-Trash collection interval = 7200 sec. 03:34:15.212 SYSTEM: CTIOS ServerID is now [LHR-QAPC-04:42028]. 03:34:15.212 ServiceBrokerQ - SetThreadPriority highest 03:34:15.212 COS1_CTIOS1 ctios server [7.0 07383] 03:34:15 Initializing Node Manager Library. 03:34:15.212 COS1_CTIOS1 ctios server [7.0 07383] [CONNECTING, CG: localhost, CGPort: 42027] 03:34:15.212 Attempting to resolve hostname to IP address (gethostbyname). 03:34:15.212 ** Attempting to connect to server [localhost (127.0.0.1) port:42027] ** 03:34:15.212 COS1_CTIOS1 ctios server [7.0 07383] [CONFIGURING, CG: localhost, CGPort: 42027] 03:34:15.212 ******** Connection opened [localhost port:42027] ******** 03:34:20.212 CNotSecureNetPort(00DC8B48)::ReceiveData, recv, WARNING,, Connection to Host[], Connection reset by peer. (WSAECONNRESET), Error Number(10054). 03:34:21.462 CCtiSvrConnection(7C3494C5)::ReadPacket() Socket error on read, closing connection. This may be a normal close 03:34:21.556 CCtiSvrConnection::ConnectionMgrThread()-Caught ConnectionManager shutdown event, closing Connection 03:34:21.556 ******** Connection closed [localhost port:42027] ******** 03:34:21.556 SYSTEM_EVENT: SYS_CTI_SERVER_OFFLINE 03:34:21.556 CTI Server connection closed, forcing restart of CTIOS to trigger client failover
Also when I start AgentDesktop while simulator is running the following error occurs ------------------------ Simulator console when Agent Desktop is started -------------
CTransport::ListenForConnections Accepted socket connection Creating new client slot = 1 AddClientMapEntry: Adding client to client map slot = 1 CClient(1)::MainThread >> CClientListener::ListenerThread ListenForConnections CClient(1)::MainThread spawn sender and receive threads CTransport::ListenForConnections Listening on socket CTransport::RecvMessage msg too big length msgLength = 851969 CClient(1)::MsgReceiver RecvMessage failed CClient(1)::MainThread Receive thread quit CClient(1)::MainThread Waiting for handler thread to quit CClient(1)::MainThread Waiting for send thread to quit CTransport:isconnect Connection closed CClient(1)::MainThread Waiting for receive thread to quit CClient(1)::MainThread ChildOfServer <<
------------------------------------------------------------------------------------------- Cisco CTI OS version = Cisco Products Family Release 7.0, Build 07383 Agent Desktop version = 7.0.0.0 All products are installed on the same machine.
Subject: RE: CITOS and Agent Desktop connection error with CTI Server simulator Replied by: Abdul Rasheed on 18-10-2009 03:52:38 PM Hi , I am also facing the same issue. will be great if somebody can advice on how to solve this issue. Regards Abdul Rasheed
Subject: RE: CITOS and Agent Desktop connection error with CTI Server simulator Replied by: David Lender on 19-10-2009 06:11:57 PM Make sure the CTIOS Server driver is configured in the registry for protocol version 11. By default it uses 13 but the ctiserversim only supports 11. Note that ctiserversim is provided by Cisco "as is" with no support. You should use a full ICM/CUCC lab system for your testing.
Subject: RE: CITOS and Agent Desktop connection error with CTI Server simulator Replied by: Ammar Ahmed on 20-10-2009 09:16:18 AM I tried setting CTIOS->CTIDriver->Config->ProtocolVersion = 11 Restarted CTIOS service but still got the same error.
Subject: RE: CITOS and Agent Desktop connection error with CTI Server simulator Replied by: Abdul Rasheed on 20-10-2009 01:54:47 PM Hi David, i also tried changing the setting CTIOS->CTIDriver->Config->ProtocolVersion to value 11. But i am also getting the same error. we are planning our developer testing to be doen using this tool and the final testing we are planning with real CTI OS server deployment. It will be great if you can help us to sort out this issue. Thanks and Regards Abdul Rasheed
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: David Lender on 20-10-2009 04:52:26 PM CTIServersim is not supported by Cisco. That said, if you post your CTIOS and CTI Server log files I will take a look.
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: Abdul Rasheed on 20-10-2009 05:24:35 PM Hi David, Please find the attached logs for CTIServersim and CTI OS server .I installed both CTIServersim and CTI OS server in the same system on windows xp platform . when i started installation i got a message that XP is not supported, but it finished installation successfully. Thanks and Regards Abdul Rasheed
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: David Lender on 20-10-2009 06:04:24 PM Are you running Cisco Security Agent?
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: Abdul Rasheed on 20-10-2009 06:10:17 PM Hi David, I am not sure if it running. But i think it is not running at all. Because i couldnt find any such services from windows services list and also i think i didnt select the installation for security agent when i was prompted for the same. If you need me to check anything further , please let me know. i will check it right now and get back to you. Regards Abdul Rasheed
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: David Lender on 20-10-2009 06:24:26 PM no thats ok. can you post the entries for the following registry key HKEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems, Inc.\Ctios\CTIOS_ctios\CTIOS1\CtiDriver\Config
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: Abdul Rasheed on 20-10-2009 06:37:11 PM Hi David, please find the attached registry value for HKEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems,Inc.\Ctios\CTIOS_ctios\CTIOS1\CtiDriver\Config . Please get back to me if you need any more files. Regards Rasheed
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: David Lender on 20-10-2009 09:09:31 PM your ports are configured as: Name: SideAPort Type: REG_DWORD Data: 0xa42b Value 7 Name: SideBPort Type: REG_DWORD Data: 0xa42e 0xa42b is correct which is 42027 but 0xa42e is incorrect. It should also be 42027 or 0xa42b. Also, what is the date on the Ctiserversim.exe file you have. It should be dated at least Feb 2006 or later. If that doesnt fix it I recommend you uninstall CTIOS Server and Client, reboot, then reinstall.
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: Abdul Rasheed on 21-10-2009 04:11:22 PM Hi David, I made both the ports 42027, but still the error was there. I tried uninstalling both CTIOS client and CTIOS server , reboot and reinstalled, but no change. The date on the ctiserversim exe is Thursday, January 15, 2004, 1:01:24 PM . The versions of both CTIOS client and server is 7.0.0 . If there is some issue with the old CTIserversim exe , i think that should be the problem i am facing. Regards Rasheed
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: David Lender on 21-10-2009 04:21:36 PM Yes. You need the newer version of the Ctiserversim. If you obtain one of the CTIOS 7.0 service releases (7.1, 7.2 or 7.5) it should have the newer CtiServerSim.
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: Ammar Ahmed on 21-10-2009 04:22:34 PM Tried re-installing but exact same error logs Should I open case? please advise, we need the simulator so that I can continue working until we get actual lab access.
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: David Lender on 22-10-2009 01:53:12 PM Yes you can open a case if you like but remember the ctiserversim is provided "as is" with no support. You should use a UCC Enterprise lab system instead. You need the 2006 or later version of ctiserersim if you want to try it anyway , the one on the CTIOS 7.0 media cd is outdated.
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: Ammar Ahmed on 22-10-2009 05:34:55 PM I installed the simulator 7.1.5 from the service release and it worked, the monitor tool though cannot change agent state but I am sure it must be some small glitch, I 'll look into it. Thanks David.
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: Abdul Rasheed on 30-12-2009 05:33:20 PM Dear Ammar, Can you please let me know how you could change the agent state from the monitor tool , it will be of great help if you can let me know this information. i am facing the same problem. I installed 7.2(7) service release and i am able to change the state of agents to Login , Available etc. But when i make the call to the skill group, i can see that calls are in Initiated status, how shall i pick the call , so that it is in connected status ? Thanks and Regards Abdul Rasheed
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: Ammar Ahmed on 01-01-2010 10:56:53 AM Hi Abdul Rasheed, You should be able to get the Call_Delivered event in monitor mode. In this event get the 'Call' object and executes its Answer method. For example see the below code snippet which uses CallUniqueObjectID(Enum_CtiOs.CTIOS_UNIQUEOBJECTID) received in the event Arguments for Call_Delivered to retrieve 'Call' object. CtiOsObject oCtiOsObject; GetCTISessionObject().GetObjectFromObjectID(strCallUniqueObjectID, out oCtiOsObject); Call oCallFromSession = (Call)oCtiOsObject; Arguments oArgs = new Arguments(); CilError oError = oCallFromSession.Answer(oArgs); //GetCTISessionObject() just returns the Session Object (CtiOsSession) for your monitor mode.
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: Abdul Rasheed on 05-01-2010 05:03:05 PM Hello Ammar, Thanks a lot for the quick reply. My issue is solved now. Please keep in touch always. Thanks and Regards Rasheed
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: David Lender on 05-01-2010 06:49:36 PM Abdul, Note that call and agent state control from a CTIOS monitor mode session (filter mode) is not supported. Call and agent state control are only supported for agent mode sessions. .
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: Tushar Patil on 12-05-2010 11:23:17 AM Hi, I have the same issue. I have installed CTIOS 7.0 and CTI simulator.exe (dated 28/07/2010)on windows XP desktop but facing the same issue. I have tried on windows 2003 serve also and CTOS 7.5.1 also. Can you please advise. Please let me know from where I can download CTI simulator 7.1.5 release. How to resolve this issue. Thanks, Tushar
Subject: RE: New Message from Abdul Rasheed in Computer Telephony Integration Object Replied by: jwu.epsilon.com (simulated) on 22-09-2010 09:59:39 PM Hi, how did you solve the "msg too big" error. I always get this error. Thanks for your help.
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: