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

vicidial - You don't have permission to access recording on this server
You don't have permission to access recording on this server 

  Description: You dont have Permission to access recordings Folder

    By default Vicidial installation comes with recording folder permission only for Private networks(RFC1918) that is 192.168.x.x subnet.

    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 is an enterprise class, open source, contact center suite in use by many large call centers around the world. VICIdial has a full featured predictive dialer.  It is capable of inbound, outbound, and blended phone call handling. 

VICIbox Server is the official installation CD for the VICIDIAL Call Center Suite. It is based off of OpenSuSE server, and will properly install the VICIDIAL Call Center Suite with relative ease.

  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 version

service httpd restart

systemctl restart httpd 

systemctl restart apache2

  Still not working ?

run
chmod 755 /var/spool/asterisk

  For support :
reach me at skype: striker24x7
6 Comments
  • Anonymous
    Anonymous May 10, 2021 at 11:28 PM

    i am facing same problem in my goautodialer 2.1 server,please help me anyone
    please pleasr............

    • Ajit Kumar
      Ajit Kumar May 11, 2021 at 1:40 PM

      are u able to find this file
      vi /etc/httpd/conf.d/goautodial.conf

    • Unknown
      Unknown May 13, 2021 at 10:34 PM

      false

    • Unknown
      Unknown May 13, 2021 at 11:40 PM

      false

    • Unknown
      Unknown June 1, 2021 at 10:18 PM

      Forbidden
      You don't have permission to access /RECORDINGS/MP3/20210601-215001_XXXXX-all.mp3 on this server.

    • Anonymous
      Anonymous February 28, 2023 at 6:25 PM

      chown -R wwwrun:root /var/spool/asterisk/monitorDONE

Add Comment
comment url