[Asterisk-Users] Playing with time ranges...

C. Maj cmaj-SPAM at freedomcorpse.com
Sat May 1 15:25:13 MST 2004


On Fri, 30 Apr 2004, Mark Elkins waxed:

> Playing with time ranges - using the examples found in one of the
> asterisk cook books... (pdf - page 17)
> ; After Hours
> include => night_menu|00:00-08:00|Tue-Fri|*|*
> include => night_menu|17:00-24:00|Mon-Thu|*|*
> 
> this gives...
> ... pbx.c:2962 get_timerange: 24:00 isn't a valid end time....
>     -- Including context 'night_menu|17:00-24:00|Mon-Thu|*|*' in context
> 'default'
> 
> Looking at pbx.c - I'm not sure if I should change the end time (ie
> midnight) to either 23:59 -or- 00:00.
> 
> 23:59 will work - but what happens to calls then between 23:59 and
> midnight?
> 
> (Be nice if the people who wrote cookbook examples tested them too)

Well, considering you only have 60 seconds to test this
every night, good luck !

But seriously, it sounds like a bug.

--Chris


-- 
Chris Maj, Rochester
cmaj_at_freedomcorpse_dot_com
Pronunciation Guide: Maj == May



More information about the asterisk-users mailing list