Calendar Holiday Time Conditions

I’m running FreePBX 17 and currently I have a Time Group set for the opening hours Monday to Friday etc. I then I have a Time Condition set if time matches to send to Open IVR and if does not match to send to Closed IVR.

This works for most cases except where there are certain holidays. From what i’ve been reading it appears the way to make it work dynamically with holidays is to integrate it wit a calendar like Google Calendar.

Unfortunately I cannot seem to find any guides on how to do this and how will it work with the current default opening hours Time Group that I have?

Will really appreciate some guidance on how I can go about this.

Thank you.

Setup the calendar and then use Calendar Mode in the time condition to pick the calendar you want to use.

1 Like

Thank you for that. It shows how to add the calendar itself. But there does not seem to be any mention of exactly how does it determine opening times etc from the calendar. what is it looking for in the calendar to determine if it’s a holiday or not a holiday.

Uhm. You add events. Those events are the time conditions. As for holidays, you need to have a separate calendar for that. Which means you need two time conditions. One for the office and one for holidays.

1 Like

ok so traditionally lets say I have:

Time Group: Opening Hours - Monday to Friday 9AM to 5PM

Time Condition: If Opening Hours Time Group matches, do X or if does NOT match do Y

Then if i add a ical link lets say. And in that calendar I have a event with start date time: 23 June 2025 09:00 and end date 27 June 17:00. If i then create a time condition based on this, will that time condition match between those two date times in my example? And what happens if there is multiple events overlapping? how does it treat those in terms of matching?

Finally, can I keep my traditional Opening Hours Time Group to do the standard times and then have the ical time condition for extra closure dates?

Thank you

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