How to Create an XML Application
41-001160-00, Release 2.1, Rev 04 G-41
Creating an XML Application
Appendix G
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.
The following example shows an AastraIPPhoneExecute object using the Reset
command:
<AastraIPPhoneExecute>
<ExecuteItem URI="Command: Reset"/>
</AastraIPPhoneExecute>
The following example shows the AastraIPPhoneExecute object using a URL:
<AastraIPPhoneExecute>
<ExecuteItem URI="http://aastraserver/message.xml"/>
</AastraIPPhoneExecute>
When the phone receives this object, it displays the specified XML URI page.
Using the NoOp Command
You can use the AastraIPPhoneExecute object as an object to create a blank
display (it 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. You can also use the
AastraIPPhoneExecute object and this command with other objects in an XML
script.
The following example shows an AastraIPPhoneExecute object using a blank
URI:
<AastraIPPhoneExecute>
<ExecuteItem URI=””/>
<AastraIPPhoneExecute>
Note: If you specify a command as a URI attribute (instead of a URL),
the keyword "Command" must be prepended in the value of the URI
attribute so that the phone recognizes it as a URI attribute value. If you
enter a URI and leave out the “Command” keyword, the phone interprets
the value in the URI attribute as a URL containing network resources.