It's easier to work with the closed hours then - use a goto just for Sunday/Monday
PaulH James Hankins wrote: > Greetings folks, new to this, trying to get the syntax correct for a > day of week routing. > > > exten => 345,1,Answer() > exten => 345,n,GotoIfTime(10:00-17:00|tue&thu&sat|*|*?open,345,1) > exten => 345,n,GotoIfTime(10:00-19:00|wed&fri|*|*?open,345,1) > exten => 345,n,Playback(afterhours) > exten => 345,n,Hangup() > > I'll get an error stating incorrect day of week "tue&thur&sat", > assuming none > > What is the correct syntax for this? We have longer hours on > Wednesday and Fridays and we're closed Sunday/Monday > > Just trying to automate the time of day greeting etc. > > Thanks > > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > AstriCon 2009 - October 13 - 15 Phoenix, Arizona > Register Now: http://www.astricon.net > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
