2015-05-06 17:51 GMT+02:00 Tech Support <asterisk at voipbusiness.us>:> Hey; > > It seems to me that for what you want to do, it would be easier just > to email the user the voicemail audio file as an attachment. >Yes that's true but still, for users with an "intensive voicemail usage", unified messaging is attractive. In the long run, is unified messaging still rated as useful ? I honestly don't know.> I believe that when you choose to store voicemails using IMAP, it applies > to all of your users which may not be what you want to do. >Yes. These days, voicemail storage type is still a compilation time option, that apply to all users. Maybe, those attending to Astricon Dev sessions could explain us if voicemail storage customization could be introduced in a future version. Cheers> Regards; > > John > > > > *From:* asterisk-users-bounces at lists.digium.com [mailto: > asterisk-users-bounces at lists.digium.com] *On Behalf Of *Olivier > *Sent:* Tuesday, May 05, 2015 12:53 PM > *To:* Asterisk Users Mailing List - Non-Commercial Discussion > *Subject:* [asterisk-users] Recommendations for IMAP Voicemail > > > > Hello, > > I'm currently studying what is needed to implement IMAP Voicemail with > Asterisk 11 and up. > > More precisely, I would like to let users check voicemail with their > smartphone from outside (ie not connected to LAN). > > My first questions are: > > 1. What happens if Asterisk cannot reach its configured IMAP store ? Are > voicemails locally stored in a persistent directory surviving reboots or > are they lost for ever ? Are voicemails saved back to the IMAP store > whenever the IMAP store is back online ? > > 2. From personal experience, would you rate an IMAP migration as an easy > or as a difficult task ? > > By IMAP migration, I mean changing from one IMAP software to another, on > the same or on an other box. > > > > Regards > > > > > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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/20150513/e08aaa14/attachment.html>
On Wednesday 13 May 2015, Olivier wrote:> 2015-05-06 17:51 GMT+02:00 Tech Support <asterisk at voipbusiness.us>: > > I believe that when you choose to store voicemails using IMAP, it applies > > to all of your users which may not be what you want to do. > > Yes. > These days, voicemail storage type is still a compilation time option, that > apply to all users. > > Maybe, those attending to Astricon Dev sessions could explain us if > voicemail storage customization could be introduced in a future version.I'd be tempted to have a script, invoked by cron, to trawl through /var/spool/asterisk/voicemail/ and IMAP-ify messages just for those users who need that functionality. The nature of voicemail is such that it doesn't matter too much in the great scheme of things if the recipient winds up getting it a little bit late. -- AJS Note: Originating address only accepts e-mail from list! If replying off- list, change address to asterisk1list at earthshod dot co dot uk . -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150513/4149b333/attachment.html>
Hey; What you may want to do is specify the ?externnotify? option in voicemail.conf. If you set something like: externnotify=/full/path/to/imap-script the script will run right after a voicemail is received so you won't have to worry about any time delays. The command specified for externnotify is run with the arguments (in this order): context, extension, new voicemails, old voicemails and urgent voicemails. I tried it myself and it works fine for me. Regards; John From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of A J Stiles Sent: Wednesday, May 13, 2015 11:15 AM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] Recommendations for IMAP Voicemail On Wednesday 13 May 2015, Olivier wrote:> 2015-05-06 17:51 GMT+02:00 Tech Support <asterisk at voipbusiness.us>:> > I believe that when you choose to store voicemails using IMAP, it applies> > to all of your users which may not be what you want to do.>> Yes.> These days, voicemail storage type is still a compilation time option, that> apply to all users.>> Maybe, those attending to Astricon Dev sessions could explain us if> voicemail storage customization could be introduced in a future version.I'd be tempted to have a script, invoked by cron, to trawl through /var/spool/asterisk/voicemail/ and IMAP-ify messages just for those users who need that functionality. The nature of voicemail is such that it doesn't matter too much in the great scheme of things if the recipient winds up getting it a little bit late. -- AJS Note: Originating address only accepts e-mail from list! If replying off-list, change address to asterisk1list at earthshod dot co dot uk . -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20150513/b391b71c/attachment.html>