02-28-2005 08:26 AM - edited 03-13-2019 08:10 AM
I am having trouble getting the following code to work (it just seems to hang while requesting even though it works fine on a IE6 browser). Can someone help?
(Note:the XXXXX would be the physical IP address)
<cfparam name="text" default="">
<cfparam name="value" default="">
<cfset text = text & value>
<cfoutput>
<cfcontent type="text/xml" reset="Yes">
<?xml version="1.0" encoding="ISO-8859-1"?>
<!--- <?xml version="1.0" encoding="UTF-8"?> --->
<CiscoIPPhoneGraphicFileMenu>
<Title>Keyboard</Title>
<Prompt>Current Value:#text#</Prompt>
<LocationX>-1</LocationX> <LocationY>-1</LocationY>
<URL>http://xxxxxxx/voip/keyboard.png</URL>
<MenuItem>
<Name>1</Name>
<URL>http://xxxxxx/voip/keyboard1.cfm?value=1</URL>
<TouchArea X1="20" Y1="25" X2="45" Y2="50"/>
</MenuItem>
</CiscoIPPhoneGraphicFileMenu>
</cfoutput>
Scott
03-01-2005 12:47 AM
I don't know CFM, but can you check what your webserver delivers (run a sniffer) to the phone.
03-01-2005 06:17 PM
Just a quick thought to try out -
Try your example without the two "xml version" lines (the directive and the comment - remove them both completely), and see if that works. I recall having an issue with sending the version string to the phone some time ago, but don't recall the exact details at the moment.
You might also want to check the resolution of your keyboard.png and make sure it's within the phone's capabilities (298x168?), and try using 1 instead of -1 for the x and y starting coordinates (shouldn't be an issue, but never hurts to try eliminating everthing in debugging...)
03-02-2005 07:24 AM
I tried removing the "xml version" directives, and I change the x/y starting coordinates...it didn't fix the problem :-(
The PNG image is the correct resolution (it is the one supplied with the SDK) I have even tried adding a:
hoping that perhaps there was a header that needed to be passed that was missing...no luck.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide