Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
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
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: