Categories: Vicidial

How to – Fix the “You don’t have permission to access /RECORDINGS/MP3/” error within ViciDial

How to – Fix the “You don’t have permission to access /RECORDINGS/MP3/” error within ViciDial

A problem arises when people do a scratch install of ViciDial and you do not set the proper permissions for the directory that the recordings are stored. I will go over a couple of things to check and/or set to make sure they work properly.

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):
chmod -R 755 /var/spool/asterisk/monitorDONE
chown -R apache:apache /var/spool/asterisk/monitorDONE

OpenSuSE(Tumpleweed, Leap ViciBox):
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

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

I hope this helps, as always if you have any questions feel free to drop by our live chat support on Skype or discord through the links below.

Skype – https://join.skype.com/ujkQ7i5lV78O

Discord – https://discord.gg/FjpDQbUs

-Chris aka carpenox

Carpenox

Recent Posts

How to – Decrease SDP(short duration percent) in ViciDial

How to - Decrease SDP(short duration percent) in ViciDial There is a new feature in…

2 days ago

August 2024 VICIdial Security Update

August 2024 VICIdial Security Update Please read this carefully as it contains important information regarding…

2 months ago

50% off by joining our discord!

50% off by joining our discord! Unlock 50% Off Any Item in Our Store by…

2 months ago

Empower Your Business with a White Labeled Dialer Solution from CyburDial

Empower Your Business with a White Labeled Dialer Solution from CyburDial In today's rapidly evolving…

7 months ago

Unveiling CyburNumbers: Revolutionizing Your Communication Strategy

Unveiling CyburNumbers: Revolutionizing Your Communication Strategy We're thrilled to announce the upcoming release of CyburNumbers,…

8 months ago

Unraveling MySQLcheck: A Comprehensive Guide to Database Maintenance

Unraveling MySQLcheck: A Comprehensive Guide to Database Maintenance MySQLcheck stands as a formidable tool in…

8 months ago

This website uses cookies.