[Asterisk-Users] contexts based on time and date

David Hajek david.hajek at systinet.com
Wed Oct 20 14:40:28 MST 2004


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

Thanks.

-David




More information about the asterisk-users mailing list