Specifications
Aastra July 2014 PA-001011-03-04
196
4.14 “Select”, “Dial” and “Dial2” behavior in a TextMenu object
The following table describes what actions will be performed for each possible combination of items
and actions in a <MenuItem>.
MenuItem Content
Select Softkey
Offhook
Dial2 Softkey
Dial Softkey
<URI>http://XYZ.</URI>
GET(http://XYZ)
-
-
Dial(http://XYZ)
<Dial>123</Dial>
-
Dial(123)
Dial(123)
-
<URI>http://XYZ</URI>
<Dial>123</Dial>
GET(http://XYZ)
Dial(123)
Dial(123)
Dial(http://XYZ)
<URI>Dial:456</URI>
<Dial>123</Dial>
Dial(456)
Dial(123)
Dial(123)
Dial(Dial:456)
Note: the main purpose of the “Dial” tag in the TextMenu is to allow the Aastra SIP phones
which do not support custom softkeys to dial a number going off-hook.
4.15 Refresh of an XML page
All XML UI objects have the ability to be refreshed. This is accomplished by adding a Refresh
setting to the HTTP header. This setting comprises two parameters:
a time in seconds
a URL.
The Refresh setting is set by the XML application and it is up to the application to decide which
objects they want to refresh. So, it is an optional setting.
If the setting appears, then both parameters must be set for the Refresh to work.
The format of the HTTP header is:
Refresh: timeout; url=page to load
Example
Refresh: 3; url=http://10.50.10.140/update.xml
All of the parameters are mandatory.
With php you will have to use the header command in your script.
header("Refresh: 1; url= http://10.50.10.140/update.xml”);
4.16 HTTP headers format for a phone HTTP GET
When the Aastra SIP performs a GET to an HTTP server, it sets multiple variables in the HTTP
header: