Specifications
C-3
Cisco Unified IP Phone Services Application Development Notes
OL-22505-01
Appendix C Device Capability Query Via CTI
Changes in XML Object
Changes in XML Object
To support this feature new request and response objects are created. The <getDeviceCaps> is the request
object and the <getDeviceCapsResponse> is the response object.
On receiving the <getDeviceCaps> object, the phone returns the <getDeviceCapsResponse> object. All
elements in the <getDeviceCapsResponse> object are required and must not be null.
Schema Definition
The getDeviceCapsResponse XML schema is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://www.example.org/devicecaps"
xmlns:tns="http://www.example.org/devicecaps" xmlns="http://www.w3.org/2001/XMLSchema">
<element name="getDeviceCapsResponse" type="tns:deviceCapType" nillable="true"/>
<complexType name="deviceCapType">
<all>
<element name="physical" type="tns:physicalCapType" nillable="true"/>
<element name="services" nillable="true">
<complexType>
<complexContent>
<extension base="tns:servicesCapType">
<attribute name="sdkVersion" type="string" use="required"/>
</extension>
</complexContent>
</complexType>
</element>
</all>
</complexType>
<complexType name="physicalCapType">
<all>
<element name="modelNumber" nillable="false">
<simpleType>
<restriction base="string">
<maxLength value="32"/>
<minLength value="1"/>
</restriction>
</simpleType>
</element>
<element name="display" nillable="true">
<complexType>
<attribute name="width" type="unsignedShort" use="required"/>
<attribute name="height" type="unsignedShort" use="required"/>
<attribute name="bitDepth" type="unsignedShort" use="required"/>
<attribute name="isColor" type="boolean" use="required"/>
</complexType>
</element>
</all>
</complexType>
<complexType name="servicesCapType">
<all>
<element name="browser" type="tns:browserCapType" nillable="true"/>
</all>
</complexType>
<complexType name="browserCapType">
<all>
<element name="accept" nillable="false"/>
<element name="acceptLanguage" nillable="false"/>
<element name="acceptCharset" nillable="false"/>