IP Phone Administrator Guide How to Create an XML Application

Appendix G

XML Examples

Example 1: The following is an example of using the AastraIPPhoneStatus object:

<AastraIPPhoneStatus>

<Session>abc12345</Session>

<Message index="3">Server side call forwarding disabled</Message> <AastraIPPhoneStatus/>

In this example, the AastraIPPhoneStatus object sends the default behavior with the status message (i.e., the status message is added to the scroll list).

Example 2: You can also use the AastraIPPhoneStatus object to remove status messages from the display, by setting an empty tag for the <Message index> tag.

The following example removes the status message that was posted to the phone in Example 1.

<AastraIPPhoneStatus>

<Session>abc12345</Session> <Message index="3"/> <AastraIPPhoneStatus/>

G-24

41-001160-00, Rev 01 Release 2.0

Page 564
Image 564
Aastra Telecom 57I C53I manual XML Examples