AASTRA 480i User Manual

Page of 504
How to Create an XML Application
41-001129-00 Rev 09, Release 1.4.1
G-15
Creating an XML Application
Appendix G
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/>