Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: Isabel Beltran on 29-09-2008 04:31:43 PM I need some help related with the CTIOS Client Java toolkit. I coded our own agent desktop based in the java sample shipped with the distribution in path C:\Program Files\Cisco Systems\CTIOS Client\CTIOS Toolkit\Java CIL\samples\JavaPhone. Testing the application I encountered some problems what happened to occur also in the JavaPhone and TestPhone (C:\Program Files\Cisco Systems\CTIOS Client\CTIOS Toolkit\Java CIL\tools\TestPhone) java agent desktops when calls are not routed properly to the device targets. First call is always routed to the ready agent and everything works as expected but subsequent calls never arrive to the destination target.
It seems that the agent gets reserved but the call cannot be routed to the device hence the call is aborted. My guess is that when hanging the previous call, something is not clean properly, resources are not freed. Maybe the sequence on the events are not handled properly in the samples, but as there are no much documentation, I am using just the Java Phone sample to develop my own agent desktop. Does anybody experience the same behaviour? Or Does anybody know what is the event sequence to follow when hanging up a call?
Any help will be really appreciated,
Isabel
Follows the events log entries:
C:\Program Files\Cisco Systems\CTIOS Client\CTIOS Toolkit\Java CIL\samples\JavaP hone>java -cp .;..\..\JavaCIL.jar;JavaPhone.jar JavaPhoneFrame LogWrapper::CreateFile : file .\Log\javaphone.092908.18.06.23.log was created su ccessfully. m_ExpireMonitorTread is started ! 09/29/2008 18:06:23.703 CtiOsSession(33537384).CtiOsSession() Version Information: Product: CTI OS Java CIL 7.0.0, 08577 Date: April 09, 2007 10:47:00 Copyright (c) 2000 - 2007, Cisco Systems, Inc., All rights reserved. 09/29/2008 18:06:34.343 Connecting to CTIOS Server... 09/29/2008 18:06:34.359 NetPort(16197143).Open, Waiting for Socket to connect...
Subject: Re: Java Toolkit sample problem Replied by: David Lender on 29-09-2008 05:09:15 PM Is the agent able to receive calls in your environment using the out of box CTIOS Agent Desktop? From the log snippet it would appear there is a configuration problem transferring the call from CVP to the agent. If you are able to reproduce the error using the out of box CTIOS Agent Desktop then open a TAC case for your environment.
Subject: Re: Java Toolkit sample problem Replied by: David Lender on 29-09-2008 05:45:03 PM Note that since you are receiving the OnAgentPrecallAbortEvent this indicates there is a problem routing the call to the agent. This would seem to be an ICM scripting issue.
Subject: Re: Java Toolkit sample problem Replied by: Isabel Beltran on 30-09-2008 07:40:47 AM David, I am not having any problems in my installation using the out-of-the-box Agent desktop. It runs as expected. Calls are routed to the ready agents or if not, the calling party waits in queue with audio (expected from my routing script). That's why I am thinking that it is related or to the Java CIL istelf or the sample does not handle properly the "end connection" events. If I reset the application and the phones, first call is routed properly, subsequent calls have the behaviour explained above.
Thanks for your help,
Isabel
Subject: Re: Java Toolkit sample problem Replied by: David Lender on 30-09-2008 05:42:52 PM The sample(s) are not intended for production use and you are correct they may not handle all the events that you see in your environment.
However, looking at your log snippet I have some additional questions.
I do not see any Answer or Release requests from the client so it would appear that these are occuring from the hardphone. Is this correct?
The AgentPreCallEvent is not handled by the sample code.
The AgentPreCallAbort event would come from ICM (CTI Server) and is not likely due to a CIL or custom application issue.
If you continue to have issues you can open an case for Developer Services providing both the CTIOS Server and CTIOS Client CIL logs associated with good call handling by the CTIOS Agent Desktop as welll as a CTIOS Server and CTIOS Client CIL log associated with the custom Java Cil application.
David
Subject: Re: Java Toolkit sample problem Replied by: Isabel Beltran on 01-10-2008 07:19:44 PM David. Thank you. I was wrong in my assumption that it worked with the out of box Agent Desktop. It's not working, that means that as you said either the routing script is not working properly or I have something misconfigured in the installation. I got the logs and will open a case for Developer Services.
Isabel
Subject: Re: Java Toolkit sample problem Replied by: OnamYoel23 (simulated) on 29-01-2009 11:06:47 PM Hi I need urgency get SDK tooltik of Cisco from Visual Basic 6 you can help me?
Thanks
Subject: Re: Java Toolkit sample problem Replied by: David Lender on 30-01-2009 01:38:54 PM Contact your sales channel for CTIOS Install Media. The CTIOS Toolkit is installed as an option of the CTIOS Desktop install. The current version is 7.5(1) and it supports using COM Cil and ActiveX controls in Visual Basic 6. If you are a CTDP Partner, see the link on the Getting Started page of the CTIOS Technology center in the Cisco Developer Community portal here http://developer.cisco.com/web/ctios/start
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: