time conditions not working right

dk253
Posts: 6
Member Since:
2008-03-25

Greetings,
I'm running a camp where the person on duty needs to change every week on saturday. So I have a cascading time condition that changes the destination every week for the person on duty. I've set it up as logically as i can but the error in the log is:

WARNING[5639] pbx.c: Time range is not valid. Assuming no restrictions based on time.

[timeconditions]
include => timeconditions-custom
exten => 1,1,GotoIfTime(12:00|*|30-31|aug-dec?from-did-direct,101,1)
exten => 1,n,Goto(timeconditions,1,1)
exten => 2,1,GotoIfTime(00:00-12:00|sat|1-21|jan-jun?from-did-direct,201,1)
exten => 2,n,Goto(timeconditions,3,1)
exten => 3,1,GotoIfTime(12:00|sat|21-28|jun?from-did-direct,101,1)
exten => 3,n,Goto(timeconditions,4,1)
exten => 4,1,GotoIfTime(12:00-12:12|sat|28-5|jun-jul?from-did-direct,101,1)
exten => 4,n,Goto(timeconditions,5,1)
exten => 5,1,GotoIfTime(12:00|sat|5-12|jul?from-did-direct,101,1)
exten => 5,n,Goto(timeconditions,6,1)
exten => 6,1,GotoIfTime(12:00|sat|12-19|jul?from-did-direct,101,1)
exten => 6,n,Goto(timeconditions,7,1)
exten => 7,1,GotoIfTime(12:00|sat|19-26|jul?from-did-direct,101,1)
exten => 7,n,Goto(timeconditions,8,1)
exten => 8,1,GotoIfTime(12:00|sat|26-2|jul-aug?from-did-direct,101,1)
exten => 8,n,Goto(timeconditions,9,1)
exten => 9,1,GotoIfTime(12:00|sat|2-9|aug?from-did-direct,101,1)
exten => 9,n,Goto(timeconditions,10,1)
exten => 10,1,GotoIfTime(12:00|sat|9-16|aug?from-did-direct,101,1)
exten => 10,n,Goto(timeconditions,11,1)
exten => 11,1,GotoIfTime(12:00|sat|16-23|aug?from-did-direct,101,1)
exten => 11,n,Goto(timeconditions,12,1)
exten => 12,1,GotoIfTime(12:00|sat|23-30|aug?timeconditions,13,1)
exten => 12,n,Goto(timeconditions,1,1)
exten => 13,1,GotoIfTime(12:00|sat|30-2|aug-sep?from-did-direct,101,1)
exten => 13,n,Goto(timeconditions,1,1)

; end of [timeconditions]