On Friday 18 June 2010 09:49:39 Warren Selby wrote:
> On Fri, Jun 18, 2010 at 7:44 AM, Aksel Celasun <[email protected]> wrote:
> >  Minor edit on the include => nighttime|12:30-8:00|mon-fri|*|*
> >
> > Correct now.
>
> This isn't how you do time based checks in asterisk.  Lookup the
> application "GotoIfTime".

Actually, it is an old method that still works, but as Warren mentioned, you
should endeavor to switch to using GotoIfTime, as there's a nasty race
condition inherent in using timed includes.

-- 
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to