Thanks for the info. I was trying not to have to edit the dial plan in the conf files, but sometimes I guess you have to.
It's not a "night service button". It's a speed dial to a feature access code that puts the switch into night service or remote call forwards the main number to a greeting only mailbox. The latest gui in the asterisk branch has a "time based routing" tab which has not been put into the appliance branch yet. The only draw back would be holidays when you would have to manually setup the holiday hours in each switch. I guess I'll take what I can get though. Thanks, Randy Quick Telecom Tech II Texoma Medical Center [EMAIL PROTECTED] ________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Forrest Beck Sent: Wednesday, September 26, 2007 8:34 AM To: Asterisk GUI project discussion Subject: Re: [asterisk-gui] Asterisk Appliance 50 "After Hours Feature" Randy, I haven't seen a phone that has a "night service button". Our old Norstar system had a function to put the system into night service. On systems that I have moved to asterisk I've replaced this feature two different ways. I haven't done this on the appliance before (never used the GUI before), but I believe there is a IVR setup menu on the GUI that will allow you to put this in. 1) Use a GoToIfTime application in the dial plan. This will check the time of day, if the current time falls into that range, it will go to the specified extension. This will send all calls to the operator context if the time is 7:30 - 4 on Mon - Fri. Else go to the nightmessage context. [my-incoming-pri] ; Main Number 555-1212 ; Check the time of day. If it is between 7:30 and 4 on a weekday ; then go to the us-mainnumber context, else go to the backdoor. exten => s,1,Answer() exten => s,2,GoToIfTime(7:30-16:00|mon-fri|*|*?operator,s,1) exten => s,3,GoTo(nightmessage,s,1) [operator] exten => s,1,Dial(SIP/6000) [nightmessage] exten => s,1,Answer() exten => s,2,Playback(if-emergency-dial-911-message) 2) The other way is to have a extension that your phones can forward to. Somewhere in the context that your phones register to have something like: exten => 1000,1,GoTo(nightmessage,s,1) So when the call comes in to the phone it will forward the call to the nightmessage context. This method also seems to work best if you have multiple phones answering the same line (either through a queue or dial). Forrest Beck [EMAIL PROTECTED] www.shift8.biz On Sep 26, 2007, at 9:01 AM, QUICK, RANDY wrote: Hey guys, Quick question. How hard would it be to setup the appliance with some type of features access code setup in the GUI so that a user could put the system into some type of night mode or after hours mode by dialing it? For example - I admin telecom for 20+ clinics all on Mitel switches and I have the office managers phones so that they can hit a speed dial to turn the incoming call trunks off which forwards them to a greeting only voice menu that announces that the clinic is closed, "if this is an emergency please hang-up and dial 911", and what the normal business hours are. They do this when they leave for lunch, end of business day, or for a holiday weekend. When they return they simply hit the key again and it un-forwards the trunks and they go to the "open" voice menu. The secondary route could be setup in the "incoming calls" tab. Route - >From provider - to extension - after-hours extension - The speed dial could be input into the "options" tab. I would look into paying someone for development but, this needs to be an "out of the box", Digium supported feature for ease of deployment and updating. Please let me know what you think. Thanks, Randy Quick Texoma Medical Center [EMAIL PROTECTED] _______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-gui mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-gui
_______________________________________________ --Bandwidth and Colocation Provided by http://www.api-digital.com-- asterisk-gui mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-gui
