[Asterisk-Users] Voicemail questions

Karl Brose karlbrose at optonline.net
Wed Nov 10 00:11:26 MST 2004


You will also need to change a file in Asterisk core, to make it right, 
I think it was file.c.



Adam Fineberg wrote:

> > -------- Original Message --------
> > Subject: [Asterisk-Users] Voicemail questions
> > Date: Tue, 9 Nov 2004 15:16:40 -0500
> > From: Chris Armour <chris.armour at sympatico.ca>
> > Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion 
> <asterisk-users at lists.digium.com>
> > To: <asterisk-users at lists.digium.com>
> >
> > More Newbie Questions! This time about Comedian Mail:
> >
> > 1. I have the vmail.cgi script running and it looks great. Is there 
> a permanent fix to the permissions problem on the messages? Right now I
> > have to "chmod 777" the voicemail directory before I can listen to 
> messages, which is obviously not workable for normal use.
> >
>
> Attached is a patch I made to app_voicemail.c that will set the owner, 
> group and perms of all files and directories that are created so that 
> vmail.cgi can run as user/group apache without setuid on vmail.cgi.  
> The owner/group/perms are configurable in some static variables at the 
> top so if you need them to change, you only need to change them 
> there.  Hope this helps.
>
> Adam Fineberg
>




More information about the asterisk-users mailing list