Hi, I want to change my voicemail message based on the time of day. I would like a message that says "Sorry the office is now closed." after a certain time, and says "Sorry I am unavailable / Busy / etc" before. I have come up with two ways of doing it: 1. A cron job to replace the files (messy) 2. Using different mailboxes at the different times (this means I have 2 mailboxes to check). Is there a way that the voicemail could be enhanced by adding a feature like this? With thanks, Tim
Hi, I want to change my voicemail message based on the time of day. I would like a message that says "Sorry the office is now closed." after a certain time, and says "Sorry I am unavailable / Busy / etc" before. I have come up with two ways of doing it: 1. A cron job to replace the files (messy) 2. Using different mailboxes at the different times (this means I have 2 mailboxes to check). Is there a way that the voicemail could be enhanced by adding a feature like this? With thanks, Tim
Just use two different contexts for the two times of day (open/closed) and use Playback to play the correct message before going direct into voicemail without any prompt. M Wildheart wrote:> Hi, > > I want to change my voicemail message based on the time of day. I would > like a message that says "Sorry the office is now closed." after a > certain time, and says "Sorry I am unavailable / Busy / etc" before. > > I have come up with two ways of doing it: > > 1. A cron job to replace the files (messy) > > 2. Using different mailboxes at the different times (this means I have 2 > mailboxes to check). > > Is there a way that the voicemail could be enhanced by adding a feature > like this? >
a lil bit of googling wud have answered you Tim. Put in some effort next time.... anyway, for now : http://www.voip-info.org/wiki/index.php?page=Asterisk+tips+openhours Wildheart wrote:>Hi, > > I want to change my voicemail message based on the time of day. I would >like a message that says "Sorry the office is now closed." after a >certain time, and says "Sorry I am unavailable / Busy / etc" before. > > I have come up with two ways of doing it: > > 1. A cron job to replace the files (messy) > > 2. Using different mailboxes at the different times (this means I have 2 >mailboxes to check). > > Is there a way that the voicemail could be enhanced by adding a feature >like this? > > With thanks, > > Tim > >_______________________________________________ >--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 > > >
On 11/15/06, Wildheart <asterisk-users@php-systems.com> wrote:> Hi, > > I want to change my voicemail message based on the time of day. I would > like a message that says "Sorry the office is now closed." after a > certain time, and says "Sorry I am unavailable / Busy / etc" before. > > I have come up with two ways of doing it: > > 1. A cron job to replace the files (messy) > > 2. Using different mailboxes at the different times (this means I have 2 > mailboxes to check).No, you can have 2 mailboxes for different times like this: in extensions.conf: exten => s,1,Voicemail(1111@context&2222@context,u); for day exten => s,1,Voicemail(2222@context,u);for night in voicemail.conf: 1111 => 1111,User User,,,delete=yes 2222 => 2222,User User,,,delete=no now you only have to check the voicemail for mailbox 2222> > Is there a way that the voicemail could be enhanced by adding a feature > like this? > > With thanks, > > Tim > > _______________________________________________ > --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 >
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... On 11/15/06, C F <shmaltz@gmail.com> wrote:> > On 11/15/06, Wildheart <asterisk-users@php-systems.com> wrote: > > Hi, > > > > I want to change my voicemail message based on the time of day. I > would > > like a message that says "Sorry the office is now closed." after a > > certain time, and says "Sorry I am unavailable / Busy / etc" before. > > > > I have come up with two ways of doing it: > > > > 1. A cron job to replace the files (messy) > > > > 2. Using different mailboxes at the different times (this means I have > 2 > > mailboxes to check). > > No, you can have 2 mailboxes for different times like this: > in extensions.conf: > exten => s,1,Voicemail(1111@context&2222@context,u); for day > exten => s,1,Voicemail(2222@context,u);for night > in voicemail.conf: > 1111 => 1111,User User,,,delete=yes > 2222 => 2222,User User,,,delete=no > now you only have to check the voicemail for mailbox 2222 > > > > > > Is there a way that the voicemail could be enhanced by adding a > feature > > like this? > > > > With thanks, > > > > Tim > > > > _______________________________________________ > > --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 > > > _______________________________________________ > --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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061115/2bc8a85f/attachment.htm