> 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)