IP Phone Administrator Guide How to Create an XML Application

Appendix G

Execute Commands Object (for executing XML commands)

An AastraIPPhoneExecute object on the IP phones allows the phone to execute commands using XML. The phones support the following execute object commands:

Reset - This command waits until the phone is idle and then executes a reset. You can use this command in an XML script to enable the server to force phone firmware changes and/or for troubleshooting purposes.

NoOp - This command has no affect on the IP phone. It is made up of a blank URI. You can use this feature when you need to press a key on the phone to access a feature, and it is not necessary to display anything.

FastReboot - This command allows an administrator to perform a fast reboot of the IP phone when required.

Note: For FastReboot commands, you must set the XML push server list in the Aastra Web UI from where the XML HTTP post is being sent.

XML Softkey/Programmable Key LED Behavior - The URI=”Led: <softkey or programmable key type>=<execute command>”/ controls the behavior of XML softkey or programmable key LEDs. The softkey or programmable key must be configured for XML before you enable this feature.

The following paragraphs describe the AastraIPPhoneExecute object and the commands you can use with this object.

AastraIPPhoneExecute Object Structure

The AastraIPPhoneExecute object describes the structure of the XML document that you can use to send a command to the phone. It delivers multiple execution requests to the phone. The basic structure of the AastraIPPhoneExecute object is:

<AastraIPPhoneExecute>

<ExecuteItem URI ="the URL or URI to be executed"/>

<! -- Additional execution items may be added under new ExecuteItem tag--> </AastraIPPhoneExecute>

G-40

41-001160-00, Release 2.1, Rev 04

Page 778
Image 778
Aastra Telecom 57I CT, 55I Execute Commands Object for executing XML commands, AastraIPPhoneExecute Object Structure