Displaying 2 results from an estimated 2 matches for "officeclosed".
2008 Jun 24
1
GotoIfTime Function
I am trying to use the GotoIfTime function and get a busy signal. What I am
trying to accomplish is to have the system tell callers that we are closed
after 5:00pm. Here is the code below.
; If we're open, then go to the open context
; We're open from 9am to 6pm Monday through Friday
exten => 3200,1,GotoIfTime(09:00-17:59,mon-fri,*,*?open,3200,1)
;
; We're also late on Tuesday and
2004 May 30
6
*** Asterisk Sunday News: Gone Fishing...
...l or CVS, you'll find extensions.conf.sample
------
;
; Timing list for includes is
;
; <time range>|<days of week>|<days of month>|<months>
;
;include => daytime|9:00-17:00|mon-fri|*|*
-----
So you could create a weekend clause that redirects all calls to
the "officeclosed" extension like this:
include => officeclosed|*|sat-sun|*|*
* The christmas special
include => christmasgreeting|*|*|25|dec
* Swedish holidays
include => gonefishing|*|*|*|jun-aug
* Evening shift
include => redirecttobkw|17-24|mon-fri|*|*
Working with context includes that depe...