How to config IVR with hours office closed

Hello, (freepbx on raspberry pi) Current Asterisk Version: 11.21.0

I have this problem, I have set in freePBX raspberry the IVR with vocal message, and I set in inbound destination the IVR.
This work correctly, But I don’t able to se the same IVR when my office are closed with other vocal message.

Please Help Me, I see the different guide with Time condition e Time Group but not work correctly or I not set well.

Thanks in advance at all

Create an IVR. Call it “Open”. Set it to what you want to say when you are open.
Create an IVR. Call it Closed. Set it to what you want to say when you are closed.
Create a Time Group. Call it “Open”. Set your open times: M-F 0900-1700
Create a Time Condition. Call it Open. Set when it matches to the “Open” IVR. Set when no match to the “Closed” IVR
Change your inbound route to go to the “Open” Time Condition.

1 Like


thx for you reply, I set like your config but freepbx send this similar vocal message:

you have not service dialog… please try again


So I retry and work correctly for IVR open, but when is after 17:00 or 5pm the IVR closed not work, the vocal message is ever of IVR open.


ok solved, the problem was the name file of audio recorded, so with out symbol - , " _ and withou “space” the audio was reproduced and work correctly.

I think this would warrant a ticket.

The file name is entered on the screen name, so making sure that spaces aren’t part of the name would be a good thing for FreePBX to check. Of course, the simplest solution is a “no spaces in the file name” note on the screen, but there are programmatic solutions that might save someone else some angst later.

Except it’s not an issue in 13

Thank you for the tip, this works perfectly on my setup! :wink:

i have done this exact setup as directed, but people can still call outside of biz hours. its driving me nuts :frowning: anyone able to help ?

You started with a 5 year old post, so I doubt it’s exactly the same thing. What are you actually doing? Have you posted any logs? What options are you choosing?

“It doesn’t work” is not even close to sufficient to let us help you. we need more details, like what you’re doing, what’s not working, and what the system is actually doing when.

im trying to setup out of hours so the phones dont ring before business hours 9am to 5pm. i followed the above directions 100% yet no matter what i try, and ive tried all options i can think of or that look logical, customers can still phone in before 9am.

Ensure that the time is correct on your system.

If it is correct, and still not working, please create a new thread and post a pastebin link that contains a call trace.


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