Edit

Share via


device/capabilities/CCCP element

Applies to: Lync 2013 | Lync Server 2013

Specifies the capability for CCCP on the device.

<capabilities uri="uri" preferred="boolean" [anyAttr]="anyattr" 
              xmlns="http://schemas.microsoft.com/2006/09/sip/device">
     <CCCP 
          preferred="boolean" 
          preferredEndpointId="endpointId"
          uri="uri" 
          render="boolean" 
          capture="boolean" 
          publish="boolean"
          version="uint" 
          deviceAvailability="uint" 
          anyAttr="anyattr" />
</capabilities>

capabilityType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

preferred

Inherited from the preferredType, this optional attribute serves as a Boolean flag to indicate if the specified capability of a given modality is preferred (true) or not (false). The default value is false.

preferredEndpointId

Inherited from the preferredEndpointType type, the optional attribute describes the endpoint Id of the preferred device for display this capability.

uri

Optional attribute to specify the SIP URI of the user logged in to Microsoft Lync Server 2013 on the device for which the capability is described by this element.

render

Optional attribute as a Boolean flag to indicate whether the device has a rendering ability for this modality (true) or not (false). The default value is false.

capture

Optional attribute as a Boolean flag to indicate whether the device has a capturing ability for this modality (true) or not (false). The default value is false.

publish

Optional attribute as a Boolean flag to indicate whether the device has a rendering ability for this modality (true) or not (false). The default value is false.

version

Optional attribute to specify the version number of this publication. The default value is 0.

deviceAvailability

Optional attribute to show the device availability number.

[anyAttr]

Optional custom attribute of any name and namespace

Child elements

None

Parent elements

Element

Description

device/capabilities element

This is a top-level element as an enhanced presence category instance

Text value

None

Example

The following XML code snippet describes a presence capability for application sharing on a device named "BOB_client".

<?xml version="1.0" encoding="utf-8" ?>
<de:device xmlns:de="http://schemas.microsoft.com/2006/09/sip/device" 
           endpointId="3CC22CF7-1BEA-5A5E-B256-E662173CD273">
  <de:capabilities preferred="false" uri="sip:bob@contoso.com">
     <de:applicationSharing capture="false" render="true" publish="false" />
  </de:capabilities>
  <de:timezone>00:00:00-07:00</de:timezone>
  <de:machineName>BOB_client</de:machineName>
</device>

Element information

Namespace

http://schemas.microsoft.com/2006/09/sip/device

Schema Name

device

Validation File

device.xsd, devicetypes.xsd

Can be Empty

True

See also

Reference

device category instance value element

Category instance elements for presence