Service Hours Table Routing scenario

Last Updated : Sep 08, 2012 |
Prolog information
The following is a very basic scenario without time adjustments:

Basic Service Hours Table scenario

                                   SERVICE HOURS TABLE

                                     Number: 99
                            Description: Call-ahead Reservations_____
               Use time adjustments from location: 2__

         MON           TUE           WED           THU           FRI
     Start  End    Start  End    Start  End    Start  End    Start  End
     08:00 12:30   10:30 02:00   __:__ __:__   __:__ __:__   __:__ __:__
     13:00 16:30   15:00 20:30   __:__ __:__   __:__ __:__   __:__ __:__
     __:__ __:__   __:__ __:__   __:__ __:__   __:__ __:__   __:__ __:__
     __:__ __:__   __:__ __:__   __:__ __:__   __:__ __:__   __:__ __:__
     __:__ __:__   __:__ __:__   __:__ __:__   __:__ __:__   __:__ __:__

                              SAT           SUN
                          Start  End    Start  End
                          __:__ __:__   __:__ __:__
                          __:__ __:__   __:__ __:__
                          __:__ __:__   __:__ __:__
                          __:__ __:__   __:__ __:__
                          __:__ __:__   __:__ __:__
VECTOR 1:
goto vector 2 @step 1 if service-hours not-in table 99
<Service hours – Call-ahead Reservation processing>
VECTOR 2:
<After hours processing>
The following table shows how calls at different times will be processed.
Day of week or time of call
Which processing
Sunday or any time
After hours
Tuesday or 14:59
After hours
Tuesday or 15:00
Service-hours
Monday or 12:30
Service-hours
Monday or 12:31
After hours
The same scenario with time adjustments:
                                DAYLIGHT SAVING RULES
Rule          Change Day                  Month   Date    Time    Increment
 0: No Daylight Saving
 1: Start: first Sunday       on or after April     1    at 02:00   01:00
     Stop: first Sunday       on or after October   25   at 02:00
 2: Start: first Sunday       on or after April     1    at 02:00   02:00
     Stop: first Sunday       on or after October   25   at 02:00
LOCATIONS
ARS Prefix 1 Required For 10-Digit NANP Calls? y
 Loc.    Name          Timezone  Rule    NPA                             Proxy Sel.
 No.                   Offset                                            Rte. Pat.
 1:     Main          + 00:00     1
 2:     Branch        + 02:00     2
 3: :
 4: :
 5: :
 6: :
 7: :
 8: :
 9: :
10: :
11: :
12: :
13: :
14: :
The following table shows how calls at different times will be processed.
System time
Daylight saving
Adjustments
Adjusted time
Which processing
Tuesday or 07:30
yes
- subtract 1 hour (put system into standard time)
- add 2 hours (location time zone)
- add 2 hours (location DST)
Tuesday or 10:30
Service-hours
Tuesday or 11:01
yes
- subtract 1 hour (put system into standard time)
- add 2 hours (location time zone)
- add 2 hours (location DST)
Tuesday or 2:01
After hours
Monday or 06:00
no
- add 2 hours (location time zone)
Monday or 08:00
Service-hours
Monday or 10:31
no
- add 2 hours (location
Monday or 12:31
After hours