Partager via


2.2.2.7.9 workingHours

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

The workingHours category instance SHOULD contain working hours of the self-user to support call routing based on working hours, if enabled in the routing category. The server SHOULD generate a workingHours category instance from the WorkingHours element of the calendarData category instance, as specified in section 3.8.5.3. This category MUST be registered as a private category on the server.

The following examples illustrate the format of a workingHours category instance:

     <calendarData xmlns="http://schemas.microsoft.com/2006/09/sip/calendarData"       mailboxID="bob@contoso.com">
       <WorkingHours 
          xmlns="http://schemas.microsoft.com/exchange/services/2006/types">
         <TimeZone>
           <Bias>480</Bias>
           <StandardTime>
             <Bias>0</Bias>
             <Time>02:00:00</Time>
             <DayOrder>1</DayOrder>
             <Month>11</Month>
             <DayOfWeek>Sunday</DayOfWeek>
           </StandardTime>
           <DaylightTime>
             <Bias>-60</Bias>
             <Time>02:00:00</Time>
             <DayOrder>2</DayOrder>
             <Month>3</Month>
             <DayOfWeek>Sunday</DayOfWeek>
           </DaylightTime>
         </TimeZone>
         <WorkingPeriodArray>
           <WorkingPeriod>
             <DayOfWeek>Monday Tuesday Wednesday Thursday Friday</DayOfWeek>
             <StartTimeInMinutes>480</StartTimeInMinutes>
             <EndTimeInMinutes>1020</EndTimeInMinutes>
           </WorkingPeriod>
         </WorkingPeriodArray>
       </WorkingHours>
     </calendarData>

The format and schema of the workingHours category MUST be the same as the calendarData category instance, as defined in section 2.2.2.7.8. For the full XML schema, see section 7.