I have one number and I want to setup after hour support
I have configured these below settings.
extensions.conf
exten => 2000,1,GotoIf($["${CALLERID(number)}" != “3105904500”]?2:90)
exten => 2000,2,GotoIfTime(,mon-fri,4,jul?Autoattendant-After,s,1) ;Normal Independence Day
exten => 2000,3,GotoIfTime(,fri,2-3,jul?Autoattendant-After,s,1) ;Weekend Independence Day
exten => 2000,4,GotoIfTime(,mon-fri,25,dec?Autoattendant-After,s,1) ;Normal Christmas (Day)
exten => 2000,5,GotoIfTime(13:00-23:59,mon-thu,24,dec?Autoattendant-After,s,1) ;Normal Christmas (Eve) Half Day
exten => 2000,6,GotoIfTime(,fri,23-24,dec?Autoattendant-After,s,1) ;Weekend Christmas (Day)
exten => 2000,7,GotoIfTime(13:00-23:59,thu-fri,22,dec?Autoattendant-After,s,1) ;Weekend Christmas (Eve) Part 1
exten => 2000,8,GotoIfTime(13:00-23:59,thu,23,dec?Autoattendant-After,s,1) ;Weekend Christmas (Eve) Part 2
exten => 2000,9,GotoIfTime(,mon-fri,1,jan?Autoattendant-After,s,1) ;Normal New Years (Day)
exten => 2000,10,GotoIfTime(13:00-23:59,mon-fri,31,dec?Autoattendant-After,s,1) ;Normal New Years (Eve) Half Day
exten => 2000,11,GotoIfTime(,mon,2-3,jan?Autoattendant-After,s,1) ;Weekend New Years (Day)
exten => 2000,12,GotoIfTime(13:00-23:59,fri,30-31,dec?Autoattendant-After,s,1) ;Weekend New Years (Eve)
exten => 2000,13,GotoIfTime(,mon,1-7,sep?Autoattendant-After,s,1) ;Labor Day
exten => 2000,14,GotoIfTime(,mon,25-31,may?Autoattendant,After,s,1) ;Memorial Day
exten => 2000,15,GotoIfTime(,thu-fri,22-29,nov?Autoattendant,After,s,1) ;Thanksgiving Thu&Fri
exten => 2000,16,GotoIfTime(0:00-5:59,mon-fri,,?Autoattendant-After,s,1)
exten => 2000,17,GotoIfTime(6:00-17:59,mon-fri,,?Autoattendant,s,1)
exten => 2000,18,GotoIfTime(18:00-23:59,mon-fri,,?Autoattendant-After,s,1)
exten => 2000,19,GotoIfTime(,sat-fri,,?Autoattendant-After,s,1)
exten => 2000,90,Hangup()
exten => 2000,1,macro(Call-Intelisys)
exten => 2000,1,macro(Call-Intelisys)
exten => 2000,1,macro(Call-Intelisys)
exten_autoattendant.conf
[macro-Call-Intelisys]
exten => s,1,Answer()
exten => s,2,background(intelisys)
exten => s,3,Dial(SIP/1075&SIP/9177&SIP/2049&SIP/9172&SIP/2045&SIP/2024&SIP/1076&SIP/2059&SIP/1092&SIP/1093&SIP/1065,24,i)
exten => s,4,macro(Voicemail,20000,${DIALSTATUS})
if I call after hour it is still going through regular dial plan it is not following after hour dialplan can anybody help?