Holiday and Office Hours for Asterisk
Office phones have to be online at office hours, otherwise a voicemail should be enabled. They should also be aware of holidays. The dialplan ; extensions.conf exten => 1234567,n,GotoIfTime(06:00-22:00,mon-fri,*,*?hcheck:vm) exten => 1234567,n,GotoIfTime(06:00-11:00,sat,*,*?hcheck:vm) exten => 1234567,n(hcheck),AGI(isholiday.pl) exten => 1234567,n,GotoIf($[${ISHOLIDAY} = "YES"]?vm) exten => 1234567,n(open),NoOp … exten => 1234567,n(vm),VoiceMail(1234567,sub) … A little perl-script checks for german holidays. [...]