CaLL FILTER - rules over midnight ....
Posted: Sat Dec 03, 2011 2:35 pm
often i got question, how to make a rule over midnight ...
well, this is related to a logically thinking...
if you want to add from Mo - Fr 22:00 to 06:00 to block calls for a group, then you must setup this via 2 rules ...
1. rule: Mo, Tu, We, Th, Fr 22:00 to 23:59
2. rule: Tu, We, Th, Fr, Sa 00:00 to 06:00
otherwise it is not possible to handle the date over midnight, because if day is given and time over midnight, then 1 day would be 2 days, and then we can't know, which day you would like to be valid.
cu camel
well, this is related to a logically thinking...
if you want to add from Mo - Fr 22:00 to 06:00 to block calls for a group, then you must setup this via 2 rules ...
1. rule: Mo, Tu, We, Th, Fr 22:00 to 23:59
2. rule: Tu, We, Th, Fr, Sa 00:00 to 06:00
otherwise it is not possible to handle the date over midnight, because if day is given and time over midnight, then 1 day would be 2 days, and then we can't know, which day you would like to be valid.
cu camel