What is the correct way to add the New Years Holiday to my Holiday time group?
I entered…
start day - 31
start month - December
end day - 2
end month - January
This is what happened…
– Executing [4@timeconditions:3] NoOp(“IAX2/voipstreet2_in-11427”, “TIMENOW: 19:34,Thu, 2,Dec”) in new stack
– Executing [4@timeconditions:4] NoOp(“IAX2/voipstreet2_in-11427”, “TIMEMATCHED: TRUE”) in new stack
– Executing [4@timeconditions:5] GotoIfTime(“IAX2/voipstreet2_in-11427”, “,,31-2,dec-jan?truestate”) in new stack
Is this expected ? or do I need to do 2 different holidays ?
At least at the Asterisk level, each field is evaluated independently, so you will need distinct rules for the December and January parts. I think your current rule matches 1 Dec, 2 Dec, 31 Dec, 1 Jan. 2 Jan and 31 Jan.