Time Group usage clarification


#1

In the Time Group module does the start and end end day mean start the condition at the start time on the start day and end at the stop time on the stop day (i.e. through these periods) or does it mean on each of the days start and stop the condition.

Example:
Time Start 17:00
Time Finish 08:00
Weekday Start Monday
Weekday Finish Thursday

Would the condition be in effect from 17:00 Monday until 8:00 Thursday, or would be be 17:00 to 8:00 every day Monday at 17:00 through Thursday at 8:00 (cycling on and off each day)?


(Mohit Mishra) #2

It will work like that.

For more details.Please check it out.
https://wiki.freepbx.org/display/FPG/Time+Groups+Sample+Configurations
https://wiki.freepbx.org/display/FPG/Time+Group+User+Guide


#3

Thank you. I’d been over both those links several times before posting. They are written for folks who are defining working hours, not non-working hours. In order to ease holiday scheduling we switched to defining non-working hours. So, for example, the two articles don’t say what happens if the start time for a time condition is after the end time (i.e. start at 5:00 PM and end at 8:00 AM). And if the end day for such a condition is Thursday, does it end with the change from positive match to negative at 8:00 AM, or from negative to positive at 5:00 PM? Similarly, with Monday would it start with a neg match at 8:00 AM or with a positive at 17:00?

If we need to define separately as 00:00 to 08:00 and also 17:00 to 23:59, then it seems like there would be a one minute unmatched state every night from 23:59 to 00:00.

Lastly, what if there is a conflict? i.e. we could define 08:00 to 17:00 M-F as work hours and set call flow based on that. But if we define a Monday as a holiday and designate after-hours call flow, which group ‘wins’?


(system) closed #4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.