> I would like to manipulate phone call direction to voicemail for lunch, > after hours etc, but am unsure how to do this. Could someone point me to a > howto or quickly explain the concept?
I would recommend checking a database value over the time based GoToIfTime unless you are always go to and return from lunch at EXACTLY the same time: put a value like OutToLunch=1 in the asterisk database (see dbput) write an extension to make this either 1 or 0 (using dbput) add two lines to incoming calls to forward them to Vmail IF the flag is set (using dbget and gotoif) the only problem then becomes remembering to set the falg BACK to 0 so the phone rings again :) _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
