Voicemail file permissions & Tycho Voicemail Manager

voiphead
Posts: 2
Member Since:
2006-09-28

Hello,

my name is Arnd and i am one of the developers of the "Tycho" Voicemail Manager (see http://sip-syndication.com for more information).

People using trixbox together with tycho regulary have problems with the deletion of voicemails. This is due to the default file permissions of the trixbox system as far as i understand it (ive done my last trixbox installation about 3 years ago). The basic problem here is that the voicemail file permissions doesnt allow the webserver to write voicemail files. This is preventing the Tycho voicemail manager, which currently uses a php script for interfacing with asteriks voicemails from moving or deleting the files unless a user changes this file file permissions.

Usually i point people asking on our support forums on how to fix this to this document http://sip-syndication.com/index.php/Tycho-support/6-FAQ-Problems... but this is probably too complicated for a lot of Endusers.

Therefore i would like to know if there is any solution which is more "enduser friendly" than the procedure which explained in my FAQ document.

cheers,

Arnd



jahyde
Posts: 2002
Member Since:
2006-06-02
why dont you write a

why dont you write a "install script" that they simply execute from the command line, many users are acustomed to this for installing addons.

wget http://sip-syndication.com/vmailfix.sh
chmod +x vmailfix.sh
./vmailfix.sh

have the script just do a sed or echo in /etc/asterisk/voicemail.conf to add in your code.
and then echo a new script that will execute.

echo "#!/bin/bash +your other code" >> /usr/local/bin/chastowner.sh

this way the user need only paste in the 3 commands above to download and execute your installer, and the script automates all the rest, they dont need to worry about editing, or hunting down files.

--

--my PBX is run on 2 V8's



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.