Partager via


2.2.2.7.10 dndState

This section describes behaviors supported in versions described by endnote.<26>

The server MUST look at the userState instance and presentingState instance of the state category to generate the dndState category instance that contains the "Do Not Disturb" state of the self-user, as defined in section 3.8.5.4. This category MUST be registered on the server as a private category. The server SHOULD do call routing based on the dndState category instance if the routing category instance has enabled call routing.

The following examples illustrate the format of a dndState category instance.

The dndState instance data with "Do not disturb".

 <state xsi:type="userState" manual="true" 
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xmlns="http://schemas.microsoft.com/2006/09/sip/state">
   <availability>9500</availability>
 </state>

The dndState instance data without "Do not disturb".

 <state xsi:type="userState" manual="true" 
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
        xmlns="http://schemas.microsoft.com/2006/09/sip/state">
</state>

The format and schema of the dndState category SHOULD be the same as the state category, as defined in section 2.2.2.7.1. For the full XML schema, see section 7.