For clarity: Scratch install is what we call "installing Vicidial without using a purpose-built Vicidial .ISO installer" such as Vicibox or Goautodial. If you perform one of these manual/scratch installs, be certain that your instruction set is valid before you begin. If it's never been mentioned on this forum it may be questionable at best. And if you post here for support, include a link to the instruction set you used so we can know which sets have which bugs.
For posterity (in case the linked site or page ever goes away for any reason) Here's Chris's very accurate solution:The usual suspect is not setting proper permissions on the folder for the recordings, to fix this simply type the commands below:
Redhat(Alma, Rocky or CentOS):
- Code: Select all
chmod -R 755 /var/spool/asterisk/monitorDONE
chown -R apache:apache /var/spool/asterisk/monitorDONE
OpenSuSE(Tumpleweed, Leap ViciBox):
- Code: Select all
chmod -R 755 /var/spool/asterisk/monitorDONE
chown -R wwwrun:www /var/spool/asterisk/monitorDONE
The other issue could be not having a proper alias/vhost set for apache. To fix this simply paste the lines below at the bottom of your http.conf file
- Code: Select all
CustomLog /dev/null common
Alias /RECORDINGS/MP3 "/var/spool/asterisk/monitorDONE/MP3/"
<Directory "/var/spool/asterisk/monitorDONE/MP3/">
Options Indexes MultiViews
AllowOverride None
Require all granted
</Directory>
For Redhat this goes in /etc/httpd/conf/httpd.conf
For OpenSuSE this goes in /etc/apache2/httpd.conf