[Asterisk-Users] gotoiftime - different hours

Asterisk asterisk at dotr.com
Fri Jan 14 10:11:29 MST 2005


If I have different opening hours on different days, can I accomodate 
that in a single gotoiftime, or will I need to filter them out one by one ?

For example, our hours are Mon-Fri 9:00-17:00 and Sat 09:00-13:00

can this be done something like

GotoIfTime([9:00-17:00|mon-fri][9:00-13:00|sat]|*|*?open,s,1) or 
something like that, or do I have to do:

GotoIfTime(9:00-17:00|mon-sat]|*|*?openweek,s,1)

[openweek]
s,1,GotoIfTime(9:00-13:00|sat|*|*?opensat,s,1)

It gets really complicated if you are open different hours of each day 
of the week :(

Julian




More information about the asterisk-users mailing list