Created by: Paolo Bevilacqua on 11-12-2012 05:18:31 PM 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
Subject: RE: ava.lang.NumberFormatException Replied by: Raghavendra Gutty Veeranagappa on 12-12-2012 01:31:37 AM Hi Paolo, please share your complete code so that we can take a look. Thanks, Raghavendra
Subject: RE: ava.lang.NumberFormatException Replied by: Raghavendra Gutty Veeranagappa on 12-12-2012 05:02:53 AM Hi Paolo, please refer sample codes in documentation section http://developer.cisco.com/web/ucxapi/docs Thanks, Raghavendra
Subject: RE: ava.lang.NumberFormatException Replied by: Paolo Bevilacqua on 12-12-2012 04:40:46 AM 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
Subject: RE: ava.lang.NumberFormatException Replied by: Cisco Service on 05-09-2013 09:24:43 AM Hi... did You get the sample app to work? I am not sure wheter cisco will continue support for UCXSI as the latest sdk version is already 2 years ago and the new phones 99xx, 89xx, 69xx are not supported as they only work with SIP. Do You have an idea how to make a call from a SIP phone? Best regards, Martin
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: