TEST S.p.A. | 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 |
| Please sign in to flag this as inappropriate. |