I am using the Auto-Dialout (Call Files) feature of Asterisk for a application, and it works fine but I need to some how stop calling at a certain time eg no more calls after 6pm and then restart it again the next morning (when the sales team role) in at 10am. Is this possible? I still want to make other calls through the system so doing a dirty stop and start of Asterisk is not really an options.
You may want to try something similar to this … Hope this helps!
exten => s,1,Playback(happy-new-years)
exten => s,1,Dial(Zap/1,20)
exten => s,1,Playback(after-hours-msg)
include => newyears||||1|jan
include => daytime|9:00-17:00|mon-fri
include => nighttime