Interactive Voice Response VoIP/PBX?


Is it possible to let the caller initially hear some welcome message based on the current time?

For example:

between 08:00 and 12:00
Good morning, blablabla…

between 12:00 - 17:00
Good afternoon, blablabla

between 17:00 -18:00
Good afternoon, at this moment we are closed. blablabla

between 18:00 - 24:00
Good evening, at this moment we are closed. blablabla

And so on…

It is possible. You can do it using an AGI script for example.

It might be simpler to use the GotoIfTime command in your dial plan, rather than using an AGI script. GotoIfTime is well documented on the asterisk wiki.

I completely agree with trey.blancher. I haven’t used the GotoIfTime and that’s why I suggested the AGI scripts.

That is GREAT news!
I will take a look at wiki and when I figured it out, I’ll explain how to do it here in this topic.
Thank you!

Here is a link to the wiki page in question. Don’t duplicate the info since the link should suffice, and you won’t need to update this forum post when the wiki changes due to new functionality/changes in Asterisk.