Talking about file permissions, on Linux everything is possible using
POSIX ACLs. You can set specific rights to files/directories for
certain users.
Note 1: if setting "group" permissions is enough, use that.
Note 2: Asterisk and web server should be on separate machines (at
least virtual machines) for many reasons... I would mount my voicemail
over NFS... which itself has enough access control.
Note 3: if you decide to experiment with ACLs (IMHO, most flexible) -
do not forget to remout your file system:
mount -o remount,acl /usr

Hope it helps

On Fri, May 14, 2010 at 4:49 AM, Jim Dickenson <[email protected]> wrote:
> You might be able to use local channels to do what you want.
>
> As for the user asterisk runs as and the user the web server run as you can 
> maybe have both users belong to the same secondary group and gain the access 
> you need that way.
>
> Partly depends on what exactly you are wanting to do.
> --
> Jim Dickenson
> mailto:[email protected]
>
> CfMC
> http://www.cfmc.com/
>
>
>
> On May 13, 2010, at 5:09 PM, Carlos Chavez wrote:
>
>>       I want to make a web interface so my users can listen/erase voicemails.
>> Is there a way to do this from the Asterisk manager interface?  Since
>> Asterisk and the web server do not run as the same user I cannot do a
>> direct manipulation of the voicemail files
>> in /var/spool/asterisk/voicemail.  Maybe there are some AMI commands to
>> delete a specific voicemail from a mailbox?  I have not found any so far
>> but documentation is often behind of implementation.
>>
>>       Any ideas on how to approach this?
>>
>> --
>> Telecomunicaciones Abiertas de México S.A. de C.V.
>> Carlos Chávez Prats
>> Director de Tecnología
>> +52-55-91169161 ext 2001
>> --
>> _____________________________________________________________________
>> -- 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
>
>
> --
> _____________________________________________________________________
> -- 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
>

-- 
_____________________________________________________________________
-- 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

Reply via email to