Description : You don't have permission to access /recording on this server Goautodial vicidial
Cause of this problem: Permission issue in http conf file
By default goautodial installation comes with recording folder permission only for lan network in 192.168.x.x subnet as show below
if your server is configured in another subnet you will face this issue.
vi /etc/httpd/conf.d/vicidial_recordings.conf
<Directory "/var/spool/asterisk/monitorDONE">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 192.168
Options Indexes FollowSymLinks
</Directory>
Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE
Solution : Change the above config file as show below
go to :
for vicibox vi /etc/apache2/conf.d/vicirecord.conf
For goautodial 3.0 or prior use the below file location
vi /etc/httpd/conf.d/vicidial_recordings.conf
For goautodial 3.3 below is the conffile
vi /etc/httpd/conf.d/goautodial.conf
<Directory "/var/spool/asterisk/monitorDONE">
Order Deny,Allow
Deny from all
Allow from all
Options Indexes FollowSymLinks
</Directory>
Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE
if you want to allow only for particular ip then mention
All from X.X.X.X
once edited restart the httpd service
service httpd restart
For goautodial 3.0 or prior use the below file location
vi /etc/httpd/conf.d/vicidial_recordings.conf
For goautodial 3.3 below is the conffile
vi /etc/httpd/conf.d/goautodial.conf
<Directory "/var/spool/asterisk/monitorDONE">
Order Deny,Allow
Deny from all
Allow from all
Options Indexes FollowSymLinks
</Directory>
Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE
if you want to allow only for particular ip then mention
All from X.X.X.X
once edited restart the httpd service
service httpd restart
Solution 2
run
chmod 755 /var/spool/asterisk