services

Specifies presence services enabled for a presentity.

<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="https://schemas.microsoft.com/2006/09/sip/service"
    majorVersion="xs:unsignedInt"
    minorVersion="xs:unsignedInt"
    [anyAttr]="any_attribute" >
    <service>1 or more serviceType elements</service>
    <extension xmlns="https://schemas.microsoft.com/2006/09/sip/commontypes">
        <[any] xmlns="any.namespace">Custom extension</any>
    </extension>
    <delimiter xmlns="https://schemas.microsoft.com/2006/09/sip/commontypes" />
    <[any] xmlns="https://schemas.microsoft.com/2006/09/sip/service">A schema extension to parent element</any>
    <end xmlns="https://schemas.microsoft.com/2006/09/sip/commontypes" />
</services>

servicesType

Attributes and Elements

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

Attributes

Attribute

Description

majorVersion

Optional attribute to specify the major version information of this element.

minorVersion

Optional attribute to specify the minor version information of this element.

[anyAttr]

Optional custom attribute of any name and namespace

Child Elements

Element

Occurrence

Description

service

1 or more

Contains a specification of a particular presence service.

extension

0 or 1

Application-dependent custom extension to this element.

delimiter

0 or more

A marker to begin a version-dependent schema extension.

[any]

0 or more

Custom element of any name in the same namespace describing a schema extension to this element. This element must be enclosed between a delimiter element and an end element or between a two delimiter elements.

end

0 or 1

The marker to end all the schema extensions.

Parent Elements

Element

Description

None

This is a top-level element as the value of an enhanced presence category instance for presence services.

Text Value

None

Remarks

The services category instance is generated by the aggregation script with the input of the device category instances published for all the logged on devices.

Example

The following XML snippet shows a services category instance containing a specification of a presence service that is enabled for the administrator at contoso.com (sip:administrator@contoso.com) and supports instant messages rendering and capturing as well as GIF and ISF image rendering.

  <services xmlns="https://schemas.microsoft.com/2006/09/sip/service">
    <service uri="sip:administrator@contoso.com">
      <capabilities>
        <text render="true" capture="true" deviceAvailability="3500" />
        <gifInk render="true" capture="false" deviceAvailability="3500" />
        <isfInk render="true" capture="false" deviceAvailability="3500" />
      </capabilities>
    </service> 
  </services>

Element Information

Namespace

https://schemas.microsoft.com/2006/09/sip/service

Schema Name

service

Validation File

service.xsd

Can be Empty

True

See Also

Reference

device