On Saturday 01 May 2004 18:00, Hermann Wecke wrote: > On Fri, 30 Apr 2004, Mark Elkins wrote: > > Looking at pbx.c - I'm not sure if I should change the end time > > (ie midnight) to either 23:59 -or- 00:00. > > it is 23:59 > > > 23:59 will work - but what happens to calls then between 23:59 > > and midnight? > > 23:59'59" is still 23:59 mainly because you are not handling > "seconds", pnlu hours and minutes. > > And, actually, 24:00 does not exist... > > This about this recipe: > > include => night_menu|17:00-23:58|Mon-Thu|*|* > > in this example, you are starting at 17 hours, 0 minutes 0 seconds > and ending at 23 hours, 58 minutes, 59 seconds..
Actually, you aren't. If you take a look at the underlying logic, the minimum increment is 2 minutes, which means that 23:58 is treated the same as 23:59. -- Tilghman _______________________________________________ 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