vicidial permission issue to access recordings
vicidial - You don't have permission to access recording on this server
Topic : vicidial permission issue to access recordings
You don't have permission to access recording on this server |
Description: You dont have Permission to access recordings Folder
If your server is configured in another subnet or you are accessing the Recordings path from another Subnet you will face the above error.
Vicidial Default Recording vhost configuration
<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
Workaround : Allow access to all
Edit the Recording http vhost config using Vi or nano editor.
Vicibox users open below file
vi /etc/apache2/conf.d/vicirecord.conf
Goautodial 3.0 or earlier version users edit the below file
vi /etc/httpd/conf.d/vicidial_recordings.conf
Goautodial 3.3 edit the below file
vi /etc/httpd/conf.d/goautodial.conf
Change the Highlighted settings, save file and restart httpd or apache
<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
Note:
if you want to allow only for particular ip then mention
All from X.X.X.X eg Allow from 10.10.10.10
Restart the services
Restart the http services according to your Os versionservice httpd restart
systemctl restart httpd
systemctl restart apache2
i am facing same problem in my goautodialer 2.1 server,please help me anyone
please pleasr............
are u able to find this file
vi /etc/httpd/conf.d/goautodial.conf
false
false
Forbidden
You don't have permission to access /RECORDINGS/MP3/20210601-215001_XXXXX-all.mp3 on this server.
chown -R wwwrun:root /var/spool/asterisk/monitorDONE
Hi i have issue with download recording I have change my ip to FQDN and update SSL cer. But problem is that i can play recording but not able to download by download link link appear with http but when I copy recording link and type https manually it's download how can i change recording url with https so it can download directly.