[Asterisk-Users] contexts based on time and date

Matt Riddell matt.riddell at sineapps.com
Wed Oct 20 19:43:20 MST 2004


David Hajek wrote:
> Hello,
> 
> I need to include many contexts based on time and date. But I have a so
> called "midnight" issue. I want to include context when time is between
> 10pm,Oct 21 - 3am,Oct 22. Is it possible to write it using one line?
> 
> include => context1|22:00-00:00|*|21|Oct
> include => context1|00:00-03:00|*|22|Oct
> 
I doubt it unless you can go 22:00-27:00

:-)

-- 
Cheers,

Matt Riddell
_______________________________________________

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)



More information about the asterisk-users mailing list