Route a call based on calendar event

Hi,
In our scenario we have a calendar that contains one event named “number of extension”.
For example we have:
20/8/2024, 9:00-15:00 → Event named: “10”
20/8/2024, 15:00-21:00 → Event named: “11”

Could we create a time condition that check and route the call to the extension that match in this time?
For example if user calls at 12:00 the call will be routed to the extension 10, while if the user calls at 18 the call will be routed to the extension 11?

Yes, you could do this with a dynamic route and MySQL query.

Dynamic Routes User Guide - PBX GUI - Sangoma Documentation (atlassian.net)

If it is just two numbers, you might be able to just use a single extension with calendar matching to flip between the normal extension and a FMFM extension you list.

Extensions Module - PBX GUI - Sangoma Documentation (atlassian.net)

If you want a bit more simpler without parsing the event title, you can simply create multiple calendars and create a chain using time conditions.

1 Like