Hello, I would like to know if it's possible to configure asterisk to play something nice to a person calling me during week-ends when there is noone available at the phone and switch back to normal calls receiving on Monday morning. Please help. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060207/fc1418fd/attachment.htm
Yes. Google "GotoIfTime". I use this to not ring our phones during the day (we're night people), you can just as easily set it up to play a message during times that you're closed and send directly to voicemail (you can specify certain times of the day on certain days, or whole days such as saturday and sunday, and a lot more). Joseph Tanner On 2/7/06, demigor <demigor@gmail.com> wrote:> Hello, > > I would like to know if it's possible to configure asterisk to play > something nice to a person calling me during week-ends when there is noone > available at the phone and switch back to normal calls receiving on Monday > morning. Please help. > Thanks. > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > >
exten => s,1,Gotoiftime(*|sat|*?closed,1) exten => s,2,Gotoiftime(*|sun|*?closed,1) exten => s,3,Gotoiftime(8:00-17:00|mon-fri|*|*?open,1) exten => s,4,Goto(closed,1) exten => closed,1,Playback(we-are-closed) exten => closed,2,Voicemail(1000) exten => open,1,Dial(technology/resource,25,T) exten => open,2,Voicemail(1000) hth -----Original Message----- From: demigor [mailto:demigor@gmail.com] Sent: Tuesday, February 07, 2006 6:24 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] asterisk and week-ends Hello, I would like to know if it's possible to configure asterisk to play something nice to a person calling me during week-ends when there is noone available at the phone and switch back to normal calls receiving on Monday morning. Please help. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060207/593ec227/attachment.htm