[asterisk-users] how to incorporate open hours

Lee, John (Sydney) John.Lee at compuware.com
Wed Jul 16 00:01:36 CDT 2008


> What do I have to code in the main menu to do the following.
> If between the hours of 9am - 5pm go to "open hours"
> All other hours go to "after hours"

You can do something like:
exten => <main switch
no>,n,GotoIfTime(9:00-17:00,mon-fri,*,*?rcl_off_opn)




More information about the asterisk-users mailing list