Bug#304615: asterisk-web-vmail: vmail.cgi can't access voicemail.conf by default
Michel Meyers
Michel Meyers <steltek@tcnnet.dyndns.org>, 304615@bugs.debian.org
Thu, 14 Apr 2005 12:49:11 +0200
Package: asterisk-web-vmail
Version: 1:1.0.7.dfsg.1-2
Severity: important
By default, vmail.cgi gives the following error when trying to access a
voice mailbox (after typing username and password):
--- cut ---
Software error:
Bleh, no /etc/asterisk/voicemail.conf at
/usr/lib/cgi-bin/asterisk/vmail.cgi line 96.
--- cut ---
(This is: trying to use it with Apache 1.3 by just installing the
packages)
To get it to work you either need to add www-data to the asterisk group
or change the permissions of voicemail.conf like this:
chgrp www-data /etc/asterisk/voicemail.conf
That way, apache can access the config file and vmail.cgi works.
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages asterisk-web-vmail depends on:
ii apache [httpd-cgi] 1.3.33-4 versatile, high-performance HTTP s
ii apache2-mpm-prefork [httpd-cg 2.0.53-5 traditional model for Apache2
-- no debconf information