<?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>ava.lang.NumberFormatException</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>ava.lang.NumberFormatException</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-05-18T20:48:00Z</updated>
  <dc:date>2013-05-18T20:48:00Z</dc:date>
  <entry>
    <title>RE: App cannot register</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14247621" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14247621</id>
    <updated>2013-04-14T21:30:04Z</updated>
    <published>2013-04-14T21:30:04Z</published>
    <summary type="html">[quote=Daniel Placek]Paolo:
It looks like your port is set wrong: REGISTER sip:192.168.1.50:0;transport=tcp SIP/2.0
I have been playing with this tonight, and CME seems VERY sensitive to what you have in your headers/request lines.[/quote]
You are correct. I have fixed the configuration file, and now the application registers succesfully. I still have a long way before getting someting useful out of all this.
 
 </summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2013-04-14T21:30:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: App cannot register</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9684048" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9684048</id>
    <updated>2012-12-23T15:52:09Z</updated>
    <published>2012-12-23T15:52:09Z</published>
    <summary type="html">[quote=Raghavendra Gutty Veeranagappa]which IOS version your using.
Thanks,
Raghavendra[/quote]
Can someone post a complied .jar for the sample app? I want to find out where from this problem is originating.
 
 </summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2012-12-23T15:52:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: App cannot register</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9513162" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9513162</id>
    <updated>2012-12-18T11:38:21Z</updated>
    <published>2012-12-18T11:38:21Z</published>
    <summary type="html">Above I have indicated already two CME versions I have tested with identical results:
One is 15.1(4)M5, the other 15.2(3)T</summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2012-12-18T11:38:21Z</dc:date>
  </entry>
  <entry>
    <title>RE: App cannot register</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9509883" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9509883</id>
    <updated>2012-12-18T10:25:26Z</updated>
    <published>2012-12-18T10:25:00Z</published>
    <summary type="html">As indicated above already:  
[b]My router configuration is identical to the examples given.[/b]  
Yet, sample application fails in registering a provider and I cannot move on with my development. </summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2012-12-18T10:25:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: App cannot register</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9451089" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9451089</id>
    <updated>2012-12-17T09:49:03Z</updated>
    <published>2012-12-17T09:49:03Z</published>
    <summary type="html"> 
This is the problem: I'm using Cisco sample code, and the routers are configured exactly as per document.</summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2012-12-17T09:49:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: App cannot register</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9438994" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9438994</id>
    <updated>2012-12-17T00:43:59Z</updated>
    <published>2012-12-17T00:43:24Z</published>
    <summary type="html">I've configured another CME, this one with 9.1, for testing.
Same identical results, no matter what i try I get always:  
 
[b]SIP/2.0 400 Bad Request - 'Malformed/Missing URL'[/b]  </summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2012-12-17T00:43:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: App cannot register</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9363202" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9363202</id>
    <updated>2012-12-14T11:11:45Z</updated>
    <published>2012-12-14T11:11:45Z</published>
    <summary type="html">As indicated above:
 
debug ccsip message is shown in first post.
 
debug cti output does not produce any output.</summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2012-12-14T11:11:45Z</dc:date>
  </entry>
  <entry>
    <title>RE: App cannot register</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9341425" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9341425</id>
    <updated>2012-12-13T21:56:36Z</updated>
    <published>2012-12-13T21:42:49Z</published>
    <summary type="html">Any idea? I've managed to run the cisco Sample application and it behaves exactly the same.
SIP phones registers OK, so I know basic config is correct.
I've tried to enable various debuga but none revelas anything.    </summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2012-12-13T21:42:49Z</dc:date>
  </entry>
  <entry>
    <title>App cannot register</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9313713" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9313713</id>
    <updated>2012-12-14T11:10:47Z</updated>
    <published>2012-12-13T01:24:36Z</published>
    <summary type="html">Test application fails to register, apparently because it sens instead of "CME_provider" in SIP Contact:  header.
Router configuration is exactly as per documentation
Application:
           
 
pCfg = new CMEProviderConfig("config.txt");
 
CMEProvider p = ProviderManager.getProvider(pCfg,"CME_provider");[/b] [color=#525252]       
 
if (p == null) {
           
 
System.out.println("&gt;&gt;&gt;&gt;&gt;Sample code: ++++++ provider is null ++++");
            System.exit(0);
            return;
        }        
        p.addListener(new CMEProviderListenerImpl());
        if (p.start()) {
            System.out.println("&gt;&gt;&gt;&gt;&gt;Sample code: ++++++ provider started successfully ++++++ ");
} else {
            System.out.println("&gt;&gt;&gt;&gt;&gt;Sample code: ++++++ provider is not started ++++++ ");
        }
 
SIP trace:
Dec 13 01:17:11.553: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
REGISTER sip:192.168.1.50:0;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 192.168.1.101:5060;branch=z9hG4bKmyUGazcgSmhJtvEQ.1G.Wg~~0
Max-Forwards: 70
To: &lt;sip:sampleapp@192.168.1.50&gt;
From: &lt;sip:sampleapp@192.168.1.50&gt;;tag=dsb401b205
Call-ID: 13553614271871@192.168.1.50
CSeq: 1 REGISTER
Content-Length: 0 Contact: &lt;sip:null@192.168.1.101:5060;transport=tcp&gt;;expires=120    &lt;&lt;&lt;&lt; SHOULD BE sip:CME_provider[/b] [color=#525252]X-cisco-session-server: sampleapp
 
 
Dec 13 01:17:11.553: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/TCP 192.168.1.101:5060;branch=z9hG4bKmyUGazcgSmhJtvEQ.1G.Wg~~0
From: &lt;sip:sampleapp@192.168.1.50&gt;;tag=dsb401b205
To: &lt;sip:sampleapp@192.168.1.50&gt;
Date: Thu, 13 Dec 2012 01:17:11 GMT
Call-ID: 13553614271871@192.168.1.50
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 REGISTER
Content-Length: 0
 
 
Dec 13 01:17:11.557: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 400 Bad Request - 'Malformed/Missing URL'
Via: SIP/2.0/TCP 192.168.1.101:5060;branch=z9hG4bKmyUGazcgSmhJtvEQ.1G.Wg~~0
From: &lt;sip:sampleapp@192.168.1.50&gt;;tag=dsb401b205
To: &lt;sip:sampleapp@192.168.1.50&gt;;tag=9030EC-233C
Date: Thu, 13 Dec 2012 01:17:11 GMT
Call-ID: 13553614271871@192.168.1.50
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 REGISTER
Content-Length: 0
 
Why the Contact: header is not being set as per command in bold ?</summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2012-12-13T01:24:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: ava.lang.NumberFormatException</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9290760" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9290760</id>
    <updated>2012-12-12T11:18:30Z</updated>
    <published>2012-12-12T10:40:46Z</published>
    <summary type="html">That single line is the complete code, plus import for sdk and mininimal Java main class definitions.   Maybe post your sample code that works for file-base CMEProviderConfig    </summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2012-12-12T10:40:46Z</dc:date>
  </entry>
  <entry>
    <title>ava.lang.NumberFormatException</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9278720" />
    <author>
      <name>Paolo Bevilacqua</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=9278720</id>
    <updated>2012-12-12T10:38:14Z</updated>
    <published>2012-12-11T23:18:31Z</published>
    <summary type="html">running             CMEProviderConfig providerConfig = new CMEProviderConfig("config.txt"); produces My config.txt:   Exception in thread "main" java.lang.NumberFormatException: null at java.lang.Integer.parseInt(Integer.java:417) at java.lang.Integer.valueOf(Integer.java:554) at com.cisco.cme.cti.SmartProperties.getIntValue(SmartProperties.java:89) at com.cisco.cme.cti.CMEProviderConfig.createCMEProviderConfig(CMEProviderConfig.java:174) at com.cisco.cme.cti.CMEProviderConfig.(CMEProviderConfig.java:82) at ucxsi.console.UCXSIConsole.main(UCXSIConsole.java:105)   Config.txt: # specifies the ip address of the interface that you want to use localHost = 10.0.0.200 # specifies the SIP port on which you want to listen for CUCME events localPort = 5070 #Specifies the transport layer protocol you want to use controlTransport = tcp subscriptionTransport = udp # Specifies the CUCME ip address proxyHost = 192.168.1.54 #Specifies the CUCME SIP port (it is 5060 by default) proxyPort = 5060 ##Username and Password #These are the usernames and passwords configured by the CLI : # ‘xml user dummyuser password cisco’ user=xml password=1234 # this is the name of the Session server configured on CUCME for accepting # registrations from the UCXSI SDK application. The CLI is: # voice register session-server 1 # register-id sampleapp # sessionServer = sampleapp</summary>
    <dc:creator>Paolo Bevilacqua</dc:creator>
    <dc:date>2012-12-11T23:18:31Z</dc:date>
  </entry>
</feed>

