I'm a fan of your method. I haven't had good luck with GotoIfTime in the past.
A lot of my dialplan is actually handled by an AGI script. I've always found that to be the easiest. On Thu, Dec 27, 2012 at 2:00 PM, Doug Lytle <supp...@drdos.info> wrote: > Ernie Dunbar wrote: > >> This appears to boil down to "always remember to test it at the time >> that it becomes relevant". But if I was the kind of person who always >> remembered to do things at the right time, then there would never be a need >> for computers to do jobs like this in the first place. >> > > I no longer use GotoIfTime for these events. I do database lookups based > on date. At the beginning of each year, our HR department releases the > holiday schedule and I enter them into the database. > > All inbound calls query the database to see if there is a match and jump > to the appropriate sub-routine. > > Doug > > > -- > Ben Franklin quote: > > "Those who would give up Essential Liberty to purchase a little Temporary > Safety, deserve neither Liberty nor Safety." > > > -- > ______________________________**______________________________**_________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/**mailman/listinfo/asterisk-**users<http://lists.digium.com/mailman/listinfo/asterisk-users> > -- Best regards, Logan Logan Bibby, CEO Ke*o*bi Communications Tuscaloosa, Alabama
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users