Re: [asterisk-users] Dialplans Holiday Dates

2010-01-05 Thread Danny Nicholas
When it is running, nerdvittles.com is an excellent resource for this kind of question. Voip-info.org is almost always up and has more technically oriented answers to this type of query. -Original Message- From: asterisk-users-boun...@lists.digium.com

Re: [asterisk-users] Dialplans Holiday Dates

2009-12-31 Thread Cary Fitch
Perhaps make the dates a database entry? The fixed dates would stay the same each year and you would adjust only the floating dates. Or, there are really few holidays in the year. (Unless you are a government or a bank) Simple intercept code in the dialplan would handle most businesses. Just

Re: [asterisk-users] Dialplans Holiday Dates

2009-12-31 Thread Doug Lytle
Myles Wakeham wrote: I suspect others have done this sort of thing with Asterisk before, but I've not found any resources so far. exten = 317xxx,1,Gosub(holiday_check,s,1) [holiday_check] ; ;* Break out current 2 digit month