[cisco-voip] Idle url image creation
Simon, Bill
BillS at tns.its.psu.edu
Wed Oct 5 10:05:11 EDT 2005
For server-parsed, there must be a blank line after the headers (before the
HTML/XML begins).
It will look like this
---TOP OF FILE---
Content-type: text/xml
Refresh: 900
<CiscoIPPhoneText>
<OR whatever XML you have>
...
...
<... />
---END OF FILE---
The top two lines are headers and are sent to the browser as such.
Content-type tells the browser what kind of document is coming. The refresh
header is optional but I use it with my idle url to refresh the info every
15 minutes.
The tricky part is probably in setting up the web server correctly. If you
are using Apache, contact me off-list and I can give you a little more
information. If IIS or otherwise, you're on your own :-)
________________________________
From: Bob A. Bowie [mailto:bababooey at cox.net]
Sent: Tuesday, October 04, 2005 11:34 PM
To: Simon, Bill; cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Idle url image creation
Bill.
Do you have a file that has an example of this. I included the content-type
line in the xml and
it still is just displaying the text of the file?
THanks,
Bob
----- Original Message -----
From: Simon, Bill <mailto:BillS at tns.its.psu.edu>
To: 'Bob A. Bowie' <mailto:bababooey at cox.net> ;
'cisco-voip at puck.nether.net'
Sent: Tuesday, October 04, 2005 8:50 AM
Subject: RE: [cisco-voip] Idle url image creation
The web server must send a correct Content-type line in the header.
That line is: Content-type: text/xml
You can configure the web server to send your file as server-parsed
HTML and then include this line as the first line of your XML file. Or a
better way might be to designate a file extension (I use ".txml") that is
always sent to clients as Content-type: text/xml
________________________________
From: Bob A. Bowie [mailto:bababooey at cox.net]
Sent: Monday, October 03, 2005 9:28 PM
To: cisco-voip at puck.nether.net
Subject: [cisco-voip] Idle url image creation
Does the idle url have to be a .asp or a .xml file?
With what I creaed from the CCM SDK, what shows up on the phone is
the
text of the xml file versus the image I want displayed?
Can someone give me an example od a file that works for the idle
url image displayed on the 7960 ir 7070 phone.
More information about the cisco-voip
mailing list