[Asterisk-Users] Voicemail file permissions

Tzafrir Cohen tzafrir at cohens.org.il
Wed Aug 17 10:42:23 MST 2005


On Wed, Aug 17, 2005 at 07:48:29AM -0400, hugolivude wrote:
> > > Is there a way around this w/o giving everyone root privileges!
> > 
> > Do you want to allow every user to delete another user's voicemail?
> > 
> > If not, how do you sync voicemail users and samba users?
> 
> I want each user to see, read and write (delete) their own voicemail
> ONLY (i.e. a user shouldn't be able to listen to someone elses
> voicemails).  I gave each user an account on the Asterisk box and
> limited their access to their mailbox folder only.

So don't waste your time on saving the voicemail on Asterisk. Save it on
a specific folder in an imap server on the user's home directory.

If you use a decent mail client, getting notifications for new mails in
that folders, deleting them, playing them, and whatever should be easy.

On the Asterisk side you only need to keep voicemail config in sync.
Maybe it would be easier to just forward every mailbox nnn to
nnn at localhost and use an aliases file to do the real forwarding. That
way you keep the emails away from Asterisk's config.

The downside: no message-waiting indicator.

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list