Creating an XML Application

How to Create an XML Application

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.

Since the server forces phone firmware changes, the AastraIPPhoneExecute object was implemented to send the reset command to the phone.

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>

Using the Reset Command

The <ExecuteItem URI =""/> tag can be entered with the command the phone should execute. Upon receiving an AastraIPPhoneExecute object, the phone begins executing the URL or URI specified.

Appendix G

41-001160-00, Rev 01 Release 2.0

G-25

Page 565
Image 565
Aastra Telecom 57I C53I manual Execute Commands Object for executing XML commands, AastraIPPhoneExecute Object Structure