[Asterisk-Users] Voicemail questions
Adam Fineberg
fineberg at levanta.com
Wed Nov 10 02:57:03 MST 2004
Seems to work fine without changes to the core. I believe you mean that
since the speech files aren't written by app_voicemail.c they don't get
set properly but I handled that by finding the files after they were
written and fixing them up. There is a race condition I realize but it
is of very minor consequence.
Karl Brose wrote:
>
> 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
>>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Adam B. Fineberg, Ph.D.
VP Engineering
Levanta, Inc.
Office 415-354-4273
Cell 650-269-1099
Levanta.
Managing Data Center Scale-Out.
More information about the asterisk-users
mailing list