>         Does anyone know if there is a way to get GotoIfTime to accept
> individual weekdays instead of a range?
> 
>         Example Dr. Office is closed on Thursday and Sunday.

Think the easiest option would be to use two statements:

exten => s,1,GotoIfTime(*|thu|*|*?closed,s,1)
exten => s,2,GotoIfTime(*|sun|*|*?closed,s,1)
exten => s,3,[restofdialplan]

Andrew

-- 
Linux supports the notion of a command line or a shell for the same
reason that only children read books with only pictures in them.
Language, be it English or something else, is the only tool flexible
enough to accomplish a sufficiently broad range of tasks.
                          -- Bill Garrett
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to