Skip to main content

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 ?

runchmod 755 /var/spool/asterisk
  For support :reach me at skype: manish.kadiya

Comments

Popular posts from this blog

Vicidial Scratch installation Alma -9

Step 1 – Download the dependencies   hostnamectl set-hostname xxxxxx.xxxxx.xxx ### Use YOUR SubDomain vi /etc/hosts ##Change domain name for actual server ip (xxx.xxx.xxx.xxx   complete domain name    subdomain only) timedatectl set-timezone Asia/Kolkata yum check-update yum update -y yum -y install epel-release yum update -y yum install git -y yum install -y kernel* sudo dnf install kernel-devel-$(uname -r) -y #Disable SELINUX sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config     reboot Step 2 – Run the Script cd /usr/src/ git clone https://github.com/manish23k/vicidial-install-scripts cd vicidial-install-scripts chmod +x alma-rocky9-ast16.sh ./alma-rocky9-ast16.sh Or the Asterisk 18 version: chmod +x alma-rocky9-ast18.sh ./alma-rocky9-ast18.sh ####For PHP 8 use this script. chmod +x main-installer-php8.sh ./main-installer-php8.sh

How to delete old call logs and other logs in vicidial or goautodial.

Step 1 : SSH to the server using the Putty Step 2:   login to mysql by typing   mysql -p                    (if you dont know password try below command )               mysql -ucron -p1234 Step 3 : select the asterisk database by typing               use asterisk step 4: Run the below command to check total disk occupied by asterisk database                SELECT table_schema AS "asterisk", ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS "Size (MB)" FROM information_schema.TABLES GROUP BY table_schema; Step 5 : Run the below command to check disk space consumed by each table in asterisk database SELECT table_name AS "Table", ROUND(((data_length + index_length) / 1024 / 1024), 2) AS "Size (MB)" FROM information_schema.TABLES WHERE table_schema = "asterisk" ORDER BY (data_length + inde...

Install the No-IP client (Dynamic Update Client) on AlmaLinux 9

 Install the No-IP client (Dynamic Update Client) on AlmaLinux 9 1. Install Required Packages First, install the necessary packages to compile the client from source. sudo dnf install gcc make wget tar 2. Download the No-IP DUC (Dynamic Update Client) Download the latest version of the No-IP DUC. cd /opt wget https://www.noip.com/client/linux/noip-duc-linux.tar.gz 3. Extract the Downloaded File Extract the downloaded tarball. tar -zxvf noip-duc-linux.tar.gz cd noip-2.1.9-1/ 4. Compile the Client Run the following commands to compile the client. sudo make install 5. Configure the No-IP Client After installation, you’ll be prompted to enter your No-IP account credentials (email and password) and choose the hostname(s) to update. If not, you can manually run the configuration: sudo /usr/local/bin/noip2 -C 6. Start the No-IP Client To start the client: sudo /usr/local/bin/noip2 7. Verify Installation To confirm that the No-IP DUC is running, use: sudo /usr/local/bin/noip2 -S 8. Set Up...