IP Phone Administrator Guide How to Create an XML Application

Appendix G

Timeout Attribute

(configurable via XML objects only)

The XML “Timeout” attribute allows you to specify a timeout value for the LCD screen display. You must use the “Timeout” aattribute in the ROOT. When the phone receives an XML object with this attribute, it overrides the default 45 second timeout specified for custom applications. Setting the “Timeout” attribute to zero (0) disables this feature.

XML Example:

The following example illustrates the use of the “Timeout” attribute with the AastraIPPhoneFormattedTextScreen object. The result would cause the LCD screen to timeout in 30 seconds.

<xs:element name="AastraIPPhoneFormattedTextScreen"> <xs:attribute name="Beep" default="no">

<xs:simpleType> <xs:restriction base="xs:string>

<xs:pattern value="yesno"/> </xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:attribute name="DestroyOnExit" default="no"> <xs:simpleType>

<xs:restriction base="xs:string> <xs:pattern value="yesno"/>

</xs:restriction>

</xs:simpleType>

</xs:attribute>

<xs:AastraIPPhoneFormattedTextScreen Timeout= “30" default = “45”>

<xs:simpleType>

<xs:restriction base="xs:number/> </xs:simpleType>

</xs:attribute>

G-42

41-001160-00, Rev 01 Release 2.0

Page 582
Image 582
Aastra Telecom 57I C53I manual Timeout Attribute Configurable via XML objects only