Blogs

Check out the new content on the Cisco Developer Network reflecting the New & Enhanced features in Cisco Unified Communication Manager 9.1.
See the new 9.1 JTAPI Documentation ...Read More

 

The Unified Communications 9.0 Partner Bundle packages Cisco’s Collaboration application software for our Collaboration partner community to leverage for their internal lab or demonstration systems. The 9.0 version is now available for order. Learn More >> ...Read More

 

Developer Partners,

Cisco announces the availability of our 2012 Developer Partner presentations shared at CiscoLive San Diego.

Please log into the Cisco Developer Network using your Partner UserID to download this content.

Access these presentations here: http://developer.cisco.com/web/cdc/devforumpreso PARTNER LOGIN REQUIRED
...Read More

 

Developer Partners,

Cisco announces the availability of our 2012 Developer Partner presentations shared at CiscoLive London.

Please log into the Cisco Developer Network using your Partner UserID to download this content.

Access these presentations here: http://developer.cisco.com/web/cdc/devforumpreso PARTNER LOGIN REQUIRED
...Read More

 

Cisco Technology Developer Partners,

Cisco is proud to announce the availability of our Cisco Unified Communications System Release 8.6 Not-For-Resale software bundle on Cisco Marketplace (Partner Login Required).

To purchase the latest Unified Communications NFR Software bundle
- Navigate to Cisco Marketplace
- Login using your Cisco.com UserID ...Read More

 

Showing 1 - 5 of 30 results.
Items per Page 5
of 6

Forums

« Back to Cisco JTAPI Questions

incoming call, change displayed number

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello everybody,
I'm new to Jtapi so I'm asking for some help with a little application I'm writing.
This is the scenario:
A server (I'm writing it in Java of course) costantly observes all the ip phones registered with the CUCM (I've created a single user that controls all the devices).
When a device receives a call (is ringing) the server retrieves the calling number and sends on the display of the device some information associated to it (retrieved from a database, but that's non important).
Which is the best way to implement a service like that?
Somehow I've managed to retrieve the calling number, but I'd like to know what is the best/simplest way to do it. What I've not been able to do is sending something to the device. I tried to send an <IpPhoneExecute> statement via the CiscoTerminal.sendData() method but without success (I'm not receiving any error, simply nothing happens). Also, the sendData method is deprecated, so which method should I use?
(yes, I have already checked the CallerInfoServer example: it does something similar to what I'm doing, so I'm trying to modify it to work without the JSP service modifying the CallerInfoServer.java file, but I think there's a better way to do it)
Thank you very much
Denis

The method SendData is deprecated only in its version
java.lang.String sendData(java.lang.String terminalData)
You have to use the following overloaded version that is not deprecated:
byte[] sendData(byte[] terminalData).
What is the content of the iscoIPPhoneExecute object ?
With SendData method you can Push for examples a CiscoIPPhoneStatusFile object 
to show something on the device or Push directly a CiscoIPPhoneText page. 

Collateral


No files available