Hey all, I have a customer that has been using cough Druid cough and are now looking to upgrade to FreePBX.
I set them up a test box which is all looking to be running nicely, but they have quite an involved Time Conditions setup as they anticipate all the public holidays and then each year just change the dates.
In Druid, the below is found in extensions.conf.
I could find [timeconditions] context in extensions_additional.conf on the FreePBX but need to translate between the two.
Also it looks like the Time Conditions or rather the Time Groups are stored in a DB is this right?
Can someone help me translate the below between the 2 systems?
[sr-DID Number of inbound Route]
exten=>s,1,Noop(Scheduled Routing Context)
exten=>s,n,Noop(Good Friday day)
exten=>s,n,GotoIfTime(07:00-17:00||29|mar?aa-aaKewdaleOpen,s,1)
exten=>s,n,Noop(Good Friday pm)
exten=>s,n,GotoIfTime(17:00-23:59||29|mar?aa-aaKewdaleClosed,s,1)
exten=>s,n,Noop(Easter Monday day)
exten=>s,n,GotoIfTime(07:00-17:00||1|apr?aa-aaKewdaleOpen,s,1)
exten=>s,n,Noop(Easter Monday pm)
exten=>s,n,GotoIfTime(17:00-23:59||1|apr?aa-aaKewdaleClosed,s,1)
exten=>s,n,Noop(Anzac Day day)
exten=>s,n,GotoIfTime(07:00-17:00||25|apr?aa-aaKewdaleOpen,s,1)
exten=>s,n,Noop(Anzac Day pm)
exten=>s,n,GotoIfTime(17:00-23:59||25|apr?aa-aaKewdaleClosed,s,1)
exten=>s,n,Noop(WA Day day)
exten=>s,n,GotoIfTime(07:00-17:00||3|jun?aa-aaKewdaleOpen,s,1)
exten=>s,n,Noop(WA Day pm)
exten=>s,n,GotoIfTime(17:00-23:59||3|jun?aa-aaKewdaleClosed,s,1)
exten=>s,n,Noop(Queens Bday day)
exten=>s,n,GotoIfTime(07:00-17:00||30|sep?aa-aaKewdaleOpen,s,1)
exten=>s,n,Noop(Queens Bday pm)
exten=>s,n,GotoIfTime(17:00-23:59||30|sep?aa-aaKewdaleClosed,s,1)
exten=>s,n,Noop(Week Days)
exten=>s,n,GotoIfTime(7:00-17:00|mon-fri||?aa-Service_parts,s,1)
exten=>s,n,Noop(Weekend)
exten=>s,n,GotoIfTime(8:00-12:00|sat||?aa-Service_parts,s,1)
exten=>s,n,Noop(Kewdal Open Weekend)
exten=>s,n,GotoIfTime(07:00-17:00|sun-sat||?aa-aaKewdaleOpen,s,1)
exten=>s,n,Noop(Kewdal Open Weeknight)
exten=>s,n,GotoIfTime(17:00-23:59|mon-fri||?aa-aaKewdaleOpen,s,1)
exten=>s,n,Goto(aa-aaKewdaleClosed,s,1)
exten=>s,n,Hangup
Thanks in advance.
Mark.