push a message to a cisco ip phone with CiscoTerminal.sendData(...);
Stefan Scheuber <[email protected]>
| Newsgroups | gmane.comp.java.sun.jtapi |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
hi, i have a problem with sending data to a cisco ip phone 7960. i try this: ... Address [] addresses = provider.getAddresses (); Terminal [] terminals = addresses[i].getTerminals (); CiscoTerminal ct = (CiscoTerminal)terminals[0]; String data = "<CiscoIPPhoneExecute><ExecuteItem Url=\"http://webserver/ciscoipservices/test/test.asp\" />"+ "</CiscoIPPhoneExecute>"); then i first try to send data as a string. but i realize that this method is no deprecated. so i put the string into a byte array ct.sendData(data.getBytes()); .... when i run this code. i always get an Exception. i thin a ImplException or something like this. can anyone help? or is there an other possibility to send a message to a ip phone. thanks stefan scheuber p.s.: software: callmanager 4.0, jdk 1.4.1, jtapi 1.4 =========================================================================== To unsubscribe, send email to [email protected] and include in the body of the message "signoff JTAPI-INTEREST". For general help, send email to [email protected] and include in the body of the message "help".