Grandstream Networks GXV3140 IP Phone User Manual


 
Grandstream Networks, Inc. XML Based GUI Configuration Guide Page 21 of 26
www.grandstream.com Last Updated: 03/2010
<xsd:element name="DisplayPicture" minOccurs="0" maxOccurs="unbounded" nillable="true">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="RegisterShow" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:boolean">
<xsd:attribute name="account" type="AccountType" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="FileName" type="xsd:string" minOccurs="1" maxOccurs="1"/>
<xsd:element name="X" type="xsd:integer" minOccurs="1" maxOccurs="1" default="0"/>
<xsd:element name="Y" type="xsd:integer" minOccurs="1" maxOccurs="1" default="0"/>
<xsd:element name="Width" type="xsd:integer" minOccurs="0" maxOccurs="1" default="-1"/>
<xsd:element name="Height" type="xsd:integer" minOccurs="0" maxOccurs="1" default="-1"/>
</xsd:sequence>
<xsd:attribute name="scaled" type="xsd:boolean" use="optional" default="false"/>
<xsd:attribute name="preserve_ratio" type="xsd:boolean" use="optional" default="false"/>
</xsd:complexType>
</xsd:element>
Element “RegisterShow” :
This element is optional, and it used to decide when to show the picture. The element present or
absent with the value means:
when present and the value is “trueshow when registered
when present and the value is “false- show when unregistered
when absent - show always regardless of the register status
And it has an attribute calledaccount” to make the picture relate to the special account:
“acct_1” - relate to account 1
“acct_2” - relate to account 2
“acct_3” - relate to account 3
“acct_all” -relate to all of the accounts
<xsd:element name="RegisterShow" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:boolean">
<xsd:attribute name="account" type="AccountType" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
<xsd:simpleType name="AccountType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="acct_1"/>
<xsd:enumeration value="acct_2"/>
<xsd:enumeration value="acct_3"/>
<xsd:enumeration value="acct_all"/>
</xsd:restriction>
</xsd:simpleType>