What you *could* do is record one greeting as the unavailable message and another as the busy message and during the day, just play the unavailable one and at night play the busy one...<br><br><br><br><div><span class="gmail_quote">
On 11/15/06, <b class="gmail_sendername">C F</b> <<a href="mailto:shmaltz@gmail.com">shmaltz@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 11/15/06, Wildheart <<a href="mailto:asterisk-users@php-systems.com">asterisk-users@php-systems.com</a>> wrote:<br>> Hi,<br>><br>> I want to change my voicemail message based on the time of day. I would
<br>> like a message that says "Sorry the office is now closed." after a<br>> certain time, and says "Sorry I am unavailable / Busy / etc" before.<br>><br>> I have come up with two ways of doing it:
<br>><br>> 1. A cron job to replace the files (messy)<br>><br>> 2. Using different mailboxes at the different times (this means I have 2<br>> mailboxes to check).<br><br>No, you can have 2 mailboxes for different times like this:
<br>in extensions.conf:<br>exten => s,1,Voicemail(1111@context&2222@context,u); for day<br>exten => s,1,Voicemail(2222@context,u);for night<br>in voicemail.conf:<br>1111 => 1111,User User,,,delete=yes<br>2222 => 2222,User User,,,delete=no
<br>now you only have to check the voicemail for mailbox 2222<br><br><br>><br>> Is there a way that the voicemail could be enhanced by adding a feature<br>> like this?<br>><br>> With thanks,<br>><br>
> Tim<br>><br>> _______________________________________________<br>> --Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>><br>_______________________________________________
<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>