<?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>Strange problem with demo java application</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>Strange problem with demo java application</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-22T09:02:17Z</updated>
  <dc:date>2013-05-22T09:02:17Z</dc:date>
  <entry>
    <title>Strange problem with demo java application</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6065661" />
    <author>
      <name>Fabian Unucka</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=6065661</id>
    <updated>2012-07-11T16:24:29Z</updated>
    <published>2012-07-11T16:17:42Z</published>
    <summary type="html">Hello,
I'm trying to write my own "click2call" application for the our yet to be deployed CUCME running on a UC560. I recently updated the system to the current 8.5 release.
Before I updated to 8.5 I had reliability issues (quite equal as another forum user described it). When I initiated a call through the java-demo app (using hold and resume example) the phones just went into an undefined state. The display said calling but the called phone didn't ring nor had the calling phone a dial-tone. Since the commercial ESTOS CSTA 2 TAPI product showed the same results I gave those guys a call and the confirmed a problem within CME &lt;=8.2 
After I upgraded our UC560 to 8.5 I got the java demo app to work - I was able to make calls. 
But the java demo suddenly stops working with the following console output (see the end of this post).
The Exception occurs right then when the program calls the "myProvider.start()" function. Since the exception is thrown by some third party sip library I don't have the source-code and can't debug it. The error message is "Can't resume until shutdown complete" (see also below).
Neither reloading nor actually power-cycling the box helped. The SIP-registrar  config within the uc560 is correct "no cti shutdown" is also there. I did not change anything within my UC's configuration between the last successful try and now constantly receiving this strange error. 
Rebooting my development box also didn't help.
 
Thanks for helping out.
regards,
Fabian
 

&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; WELCOME TO HOLD AND RESUME SAMPLE &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; PLEASE ENTER CALLER NUMBER: 116
 &gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; PLEASE ENTER CALLED NUMBER: 137
[Caffeine 3.1.2.152] [] INFO - com.cisco.cme.cti.siputil.SipManager@1040:
 Cisco Caffeine SIP Stack version 3.1.2.152 (rel) built on Apr 19, 2008 4:34 AM ... on thread maincom.dynamicsoft.DsLibs.DsSipLlApi.DsSipTransactionManager$DsShutdownException
 
: Can't resume until shutdown complete. at com.dynamicsoft.DsLibs.DsSipLlApi.DsSipTransactionManager.resume(
DsSipTransactionManager.java:368)
 at com.cisco.cme.cti.siputil.SipManager.restart(
SipManager.java:337)
 at com.cisco.cme.cti.CMEProvider.start(
CMEProvider.java:695)
 at com.cisco.ucxsi.api.HoldandResume.connectCME(
HoldandResume.java:116)
 at com.cisco.ucxsi.api.HoldandResume.holdandResumeCall(
HoldandResume.java:421)
 at com.cisco.ucxsi.api.UCXSISampleApp.main(
UCXSISampleApp.java:68)
 com.cisco.cme.cti.exceptions.CMEResourceUnavailableException
: Resource:Sip Stack
 at com.cisco.cme.cti.CMEProvider.start(
CMEProvider.java:696)
 at com.cisco.ucxsi.api.HoldandResume.connectCME(
HoldandResume.java:116)
 at com.cisco.ucxsi.api.HoldandResume.holdandResumeCall(
HoldandResume.java:421)
 at com.cisco.ucxsi.api.UCXSISampleApp.main(
UCXSISampleApp.java:68)
 Caused by: 
com.cisco.cme.cti.siputil.CMEIntSipStackException: IOException on Sip Stack
 at com.cisco.cme.cti.siputil.SipManager.sendRegister(
SipManager.java:253)
 at com.cisco.cme.cti.CMEProvider.start(
CMEProvider.java:691)
 ... 3 more</summary>
    <dc:creator>Fabian Unucka</dc:creator>
    <dc:date>2012-07-11T16:17:42Z</dc:date>
  </entry>
</feed>

