[Asterisk-Users] RE: voicemail file permissions

2003-12-04 Thread Carlton J. O'Riley
Here is a script I use in a cron job that runs every 5 minutes to make it so
that my webserver (which runs as the apache group) can access the voicemails
through the web.  Seems to fix my problems.  Although if I get the email
there is a voicemail it might be 5 minutes before I can get to it via the
web, but you could increase the frequency at which this job runs.  Five
minutes has been fine for me.  It'd be nice to be able to set the owner and
group and permissions for voicemail files in the configuration file for
voicemail.  If I had time I'd probably do it myself.

Carlton

#!/bin/sh
/bin/chgrp -R apache /var/spool/asterisk/vm/*
/bin/chmod -R g+rw /var/spool/asterisk/vm/*

  hi, i realised that when voicemails are recorded it is set to 700 file =
permission and which leads to a serrious problem when 
accessing the = voicemail thru the web using vmail,cgi

  how can i automatically set the file permission to 755 or 777 so that = i
can make it readeable from the web? which file in * helps
 to record = the voicemail and create that voicemail in a certain dir?? if
any onw = knows, i can perhaps find that line and change as  nesseciate.

  anyone tried vmail.cgi could help.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] RE: voicemail file permissions

2003-12-04 Thread CW_ASN - Gus
Guys, I'm using RH9 with vmail.cgi without any modifications... I'm just do
a 'make webvmail' after 'make install'... I don't have any troubles...

Regards,

Gus

- Original Message -
From: Carlton J. O'Riley [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 4:23 PM
Subject: [Asterisk-Users] RE: voicemail file permissions


Here is a script I use in a cron job that runs every 5 minutes to make it so
that my webserver (which runs as the apache group) can access the voicemails
through the web.  Seems to fix my problems.  Although if I get the email
there is a voicemail it might be 5 minutes before I can get to it via the
web, but you could increase the frequency at which this job runs.  Five
minutes has been fine for me.  It'd be nice to be able to set the owner and
group and permissions for voicemail files in the configuration file for
voicemail.  If I had time I'd probably do it myself.

Carlton

#!/bin/sh
/bin/chgrp -R apache /var/spool/asterisk/vm/*
/bin/chmod -R g+rw /var/spool/asterisk/vm/*

  hi, i realised that when voicemails are recorded it is set to 700 file =
permission and which leads to a serrious problem when
accessing the = voicemail thru the web using vmail,cgi

  how can i automatically set the file permission to 755 or 777 so that = i
can make it readeable from the web? which file in * helps
 to record = the voicemail and create that voicemail in a certain dir?? if
any onw = knows, i can perhaps find that line and change as  nesseciate.

  anyone tried vmail.cgi could help.
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users