Auto-toggle call flow control

Just making sure I am thinking about this right … goal is to have the CFC auto-activate “night” mode at a certain time … use of a schedule is NOT desired as start of “day” is variable.

So I’m thinking of creating some additional custom extensions that are based on the FreePBX generated call flow to simply enable DAY or NIGHT depending on the extension called. It looks like this amounts to updating the database variable and adjusting the device state (blf). From here, I’ll just trigger this from cron (at least for the moment, possibly something more user friendly in the future).

Does this make sense or is there another method that is more of a “best practices”?

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