I'm working on an application that monitors, displays and manipulates voice mail messages for individual clients, with an option to click and play in a windows interface. The problem is that I need to create a Samba share that is accessible by the Windows file system object and I don't want to give the share root access. What I need is for the voice mail files to be created with a group other than root and with 770 permissions. From what I can tell, the only way I can do this is to patch the voicemail application. However, this means re-patching every time I update from CVS. It there any possiblilty that the create group and default permissions for the voicemail files and folders could be made options in the voicemail.conf file? Stephen R. Besch
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 = ican make it readeable from the web? which file in * helps> to record = the voicemail and create that voicemail in a certain dir?? ifany onw = knows, i can perhaps find that line and change as > nesseciate.> > anyone tried vmail.cgi could help.
Okay, I'm an asterisk newbie, so forgive me if this is really obvious, but I'm wondering if there are services out that would let me simply hook up an asterisk server to the internet and make as many outbound calls as I wanted to for a monthly fee of some sort. In other words, I just have a server with an internet connection and someone else provides the internet-to-phone gateway. Come to think of it, would asterisk even be needed for this kind of a solution? Does anybody do this? Thanks, Carl Youngblood
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. cm -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20031204/b9a6cf1e/attachment.htm
I'm running RedHat 9 with a TDM400 (2FXO, 2FXS). I'd like to give my Asterisk users the option of cleaning up their voicemail mailbox from their Windows PCs. I set up Samba and added all the users with restricted access to their mailbox only, but here's the problem: The voicemail .wav files that Asterisk creates have root as both owner and group. Since the users do not have root privileges, they can't do much with the files. BTW I'm not sure why the voicemail .wav files have root as both owner and group because I followed the instructions for running Asterisk other than root (see http://www.voip-info.org/wiki-Asterisk+non-root). Is there a way around this w/o giving everyone root privileges! Thanks, Hugh
I am running Asterisk as its own user/group; at least I followed the instructions for doing so from http://www.voip-info.org/wiki-Asterisk+non-root. Even so new voicemails get created with owner/group as root. Maybe I missed something... Hugh On 8/17/05, Matthew Boehm <mboehm@cytelcom.com> wrote:> Tzafrir Cohen wrote: > > On Wed, Aug 17, 2005 at 07:48:29AM -0400, hugolivude wrote: > > > >>>>Is there a way around this w/o giving everyone root privileges! > > Run asterisk as its own user/group. We do. > > -Matthew > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >