Hi all,
I have developed a small application that uses J-TAPI to redirect a call, but I am having problem with keeping the connection between J-TAPI and the CUCM 7.0 stable. To communicate with the J-TAPI application a server socket is set up (using port 12345, I have also tried with other ports) and waiting for a connection with information about what call to redirect. To eliminate that the problem is related to the process locking heartbeats when waiting for a socket connection, I release the socket every 100 ms and check the state of the provider using the call:
provider.getState() (This seems to improve the situation slightly, without this release of the socket the connection went down more often I think, but I can not say for sure)
I guess the provider close is related to this log:
2126073: nov 06 09:36:04.685 CET %JTAPI-PROTOCOL-7-UNK

P1-10.215.70.10) received Event: com.cisco.cti.protocol.ProviderClosedEvent {
eventSequence = 125
reason = 1
}
It happens in the "middle of noware", no activity is logged for at least 5 seconds befor the event. Also: It keeps going down/up without any activity from the application except the provider.getState call.
I have also tested with the makecall application included in the J-TAPI package, the problem with the provider going in and out of service occurs there as well.
I'm using 1 second heartbeat interval.
It always recover after 5 seconds which is the recovery timers minimum value. I run the J-TAPI and the application on a Windows 2003 Server VM-ware image.
Any suggestions? Maybe it would be OK to improve the re-connection time by manually calling a reconnect function when a OutOfService event is received, but this is more like giving artificial breathing to an errornous sytem?
At the moment I'm not allowed to attach files I will supply the logfiles as soon as I get access, if the problem is not solved.
BR
Anders