Xml: http refresh header – Aastra Telecom AASTRA 9112 I User Manual

Page 37

Advertising
background image

New Features in 1.4.1

41-001024-00, Rev 09, Release 1.4.1

33

SIP IP Phone Models 480i, 480i CT, 9112i, 9133i Release Notes

XML: HTTP Refresh Header

A new HTTP refresh header feature has been implemented on the IP phones. This
feature includes the following:

All current XML screen objects have the ability to be refreshed by adding a
Refresh and URL setting to the HTTP headers. (see Refresh setting format
below)

The Refresh setting is set by the XML application and it is up to the
application to decide which objects it wants to refresh.

The Refresh setting must be included in the HTTP header. The XML application
decides which objects it wants to use with this setting. The phone recognizes this
setting when parsing the HTTP header. If the setting is present, then it passes
along the refresh timeout and the URL to the ParserData object, which all XML
screen objects inherit from. The ParserData class also has a timer, which must be
set to expire at the next refresh time. When the timer expires (time to refresh the
screen), the phone requests the URL again and displays the refreshed screen.

Refresh Setting Format

The following is the Refresh setting format for the HTTP header:

Refresh: <timeout>; URL=<page to load>

The following example is a Refresh setting for use in an HTTP header:

Refresh: 3; URL=http://10.50.10.140/cgi-bin/update.xml

Note:

This HTTP refresh header feature only applies to objects that

display to the screen.

Note:

You must use the Refresh and URL parameters in order for this

feature to work in the HTTP header.

Advertising
This manual is related to the following products: