cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
387
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Chikeobi Njaka on 22-02-2011 01:30:44 AM
I get the following error:
com.cisco.jtapi.PlatformExceptionImpl: CCNException not handled:com.cisco.cti.client.CCNException: deviceDataPassThrough request failed
 
when I send an Execute command via the sendData. The terminal object came from the terminalChangedEvent callback in the TerminalObserver. The event was CIscoTermInService.

Subject: RE: Terminal.sendData()
Replied by: Christian Ejlertsen on 22-02-2011 08:17:23 AM
I get the following error:
com.cisco.jtapi.PlatformExceptionImpl: CCNException not handled:com.cisco.cti.client.CCNException: deviceDataPassThrough request failed
 
when I send an Execute command via the sendData. The terminal object came from the terminalChangedEvent callback in the TerminalObserver. The event was CIscoTermInService.

 
Could you elaborate just a little on what you are trying to do ?
Are trying to send xml to a phone or  if so should be pretty easy.
 
the base of it should something like this
byte[] byteXmlString;
CiscoTerminal ciscTerm;
String strSepNumber = "001122334455";
String strXml;
 
strXml = "<?xml version="1.0" encoding="UTF-8"?>
<CiscoIPPhoneText>
  <Title>Title text goes here</Title>
  <Prompt>The prompt text goes here</Prompt>
  <Text>The text to be displayed as the message body goes here</Text>
</CiscoIPPhoneText>
";
 
ciscTerm = (CiscoTerminal) provider.getTerminal(strSepNumber);
byteXmlString = strXml.getBytes();
ciscTerm.sendData(byteXmlString);
 
Try it regards
Christian
 
 
Getting Started

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:

Quick Links