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.

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 is used 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-001129-00 Rev 09, Release 1.4.1

G-17

Page 487
Image 487
Aastra Telecom 480I CT manual Execute Commands Object for executing XML commands, AastraIPPhoneExecute Object Structure