Specifications

C-4
Cisco Unified IP Phone Services Application Development Notes
OL-22505-01
Appendix C Device Capability Query Via CTI
Example
</all>
</complexType>
</schema>
Example
The following are the request and response examples for a getDeviceCaps object:
Request sent to the phone:
<getDeviceCaps/>
Response returned from the phone:
<getDeviceCapsResponse>
<physical>
<modelNumber>CP-7970</modelNumber>
<display width="298" height="168" bitDepth="12" isColor="true"/>
</physical>
<services sdkVersion="5.0.3">
<browser>
</services>
</getDeviceCapsResponse>
Troubleshooting
The following error may occur in this feature:
If the getDeviceCaps object is invalid (misspelled), a parsing error is generated and a CiscoIPPhoneError
object (with Number="1") is returned as the response.
Error Handling
Standard XML services debugging techniques are applied to this feature.
The root cause for any parsing errors is displayed in the phone console logs. For HTTP requests and
responses, sniffer traces and web server debug can be used to examine the getDeviceCaps object to
ensure that it conforms to the schema.