availability

Specifies an availability number to indicate the presentity’s availability status.

<st:availability xmlns:st="https://schemas.microsoft.com/2006/09/sip/state">xs:unsignedInt</st:availability>

xs:unsignedInt

Attributes and Elements

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

Attributes

None

Child Elements

None

Parent Elements

Element

Description

state

A presence state category instance value.

Text Value

An unsigned integer.

Remarks

Microsoft Lync 2010 uses the following availability ranges:

Availability Number Ranges

Availability Status

0-4499

Available

4500-5999

Available-Idle

6000-7499

Busy

7500-8999

Busy-Idle

9000-11999

Do Not Disturb

12000-14999

Be Right Back

15000-17999

Away

18000 and higher

Offline

Example

The following XML example shows a userState category instance value containing an availability number of 15500 to indicate the Out of Office status and a custom activity string of "Out of office until next week".

<state xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
       xsi:type="userState"
        xmlns="https://schemas.microsoft.com/2006/09/sip/state">
   <availability>15500</availability>
   <activity>
      <custom LCID="1033">Out of office until next week</custom>
   </activity>
</state>

Element Information

Namespace

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

Schema Name

state

Validation File

state.xsd, statetypes.xsd

Can be Empty

True

See Also

Other Resources

Presence State and state Category Instance