Restricting Outbound Calls after hours

I have installed a FreePBX box at one of my customers, and one their programming requests is to stop ALL outbound calls when the office is closed, a strange request i know but they have suffered toll fraud in the past using a different provider and dont want to get caught again.

I will be using time conditions, but this is for inbound calls only.

Has anyone ever done this, or is there a script i can add ??

Thanks in advance

One of the options in the outbound routes is "Time Group"
This will limit the hours that the outbound route can be used.
Just know that this isn’t a fool proof road block for someone who compromises your server.

Many thanks addisonb, ill give this a go.