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

Hermann Wecke hermann at wecke.com
Sat May 1 16:00:36 MST 2004


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..



More information about the asterisk-users mailing list