Aastra Telecom 57I C53I User Guide
How to Create an XML Application
G-44
41-001160-00, Rev 01 Release 2.0
IP Phone Administrator Guide
Appendix G
CancelAction Attribute
(configurable via XML objects only)
(configurable via XML objects only)
The XML “cancelAction” attribute allows you to specify a URI that a GET is
executed on when the user presses the default CANCEL key.
executed on when the user presses the default CANCEL key.
You can add this optional feature at the end of any of the XML objects. The
format is:
format is:
<Hardkey action="Cancel">
<Label>Label to Display</Label>
<URI>URI to Get</Label>
</Hardkey>
<Label>Label to Display</Label>
<URI>URI to Get</Label>
</Hardkey>
XML Example:
The following illustrates the AastraIPPhoneTextScreen object using the “Cancel”
attribute:
attribute:
<AastraIPPhoneTextScreen cancelAction=”http://10.50.10.117/
ft.xml”>
<Title>Test</Title>
<Text>This is a test of the cancel action</Text>
</AastraIPPhoneTextScreen>
ft.xml”>
<Title>Test</Title>
<Text>This is a test of the cancel action</Text>
</AastraIPPhoneTextScreen>
When this XML script is sent to the phone, and the user presses the default
CANCEL key, the script executes a GET on http://10.50.10.117/ft.xml.
CANCEL key, the script executes a GET on http://10.50.10.117/ft.xml.
Note:
The URI must be fully qualified.
Note:
If the “cancelAction” attribute was not used in the above script,
then pressing the CANCEL key would simply cancel the current screen.