[Home]

Summary:ASTERISK-06567: GotoIfTime function does not handle the [weekend] parameter properly
Reporter:John Bittner (jbittner1002)Labels:
Date Opened:2006-03-18 21:48:07.000-0600Date Closed:2006-03-20 23:48:39.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) gotoiftime-trunk.patch
( 1) gotoiftime-trunk-v2.patch
Description:Prior to upgrading to SVN this worked. Now asterisk just gets stuck on command.
GotoIfTime(8:30-23:00|sat-sun|*|*?dekotansqueue,s,6)

If I take out sunday or change the day setting to * the commmand works.
turned on debug but nothing shows up.
Comments:By: Joshua C. Colp (jcolp) 2006-03-20 14:43:29.000-0600

Can you please try the attached patch? The logic in a function was slightly incorrect, and would cause an infinite loop.

By: John Bittner (jbittner1002) 2006-03-20 18:48:26.000-0600

Applied patch... Asterisk passes the command now, but ignores "sat" setting

By: Joshua C. Colp (jcolp) 2006-03-20 19:18:00.000-0600

Give this a try... silly logic errors!

By: Joshua C. Colp (jcolp) 2006-03-20 19:19:29.000-0600

Yes I did test this one... just fyi

By: John Bittner (jbittner1002) 2006-03-20 19:44:24.000-0600

That worked.

Thanks

By: Tilghman Lesher (tilghman) 2006-03-20 23:48:39.000-0600

Committed to trunk