Access forbidden! on recording links

Support forum for the ViciBox ISO Server Install and ISO LiveCD Demo

Moderators: enjay, williamconley, Staydog, mflorell, MJCoate, mcargile, Kumba

Access forbidden! on recording links

Postby rhonautics » Wed Feb 07, 2018 12:51 pm

Hi!

I know that this question had been asked and answered so many times as I have searched and read this forum many times but all the solutions i've tried didn't work for me. This is a cluster setup using Vicibox 8.0.1. I had the same issue with Vicibox 7 express install but I got it resolved just by chmoding the asterisk directory.

I tried chmoding
Code: Select all
chmod 755 /var/spool/asterisk


I tried editing the config files
From:
Code: Select all
Alias /RECORDINGS/ "/var/spool/asterisk/monitorDONE/"

<Directory "/var/spool/asterisk/monitorDONE">
   Options Indexes MultiViews
   AllowOverride None
   Require all granted
   <files *.mp3>
      Forcetype application/forcedownload
   </files>
</Directory>

To:
Code: Select all
Alias /RECORDINGS/ "/var/spool/asterisk/monitorDONE/"

<Directory "/var/spool/asterisk/monitorDONE">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
        <files *.mp3>
                Forcetype application/forcedownload
        </files>
</Directory>
Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE


Restored the default vicirecord.conf file but nothing seems to work. This is my first cluster install, so please bear with me.

Any help would be appreciated.

Thanks.
Vicibox 8.0.1 ISO Install | Cluster Database | VERSION: 2.14-897a BUILD: 230927-0857 | Intel Xeon E5-2630v4 2.2GHz | 32GB RAM | 6x600GB SAS
Vicibox 8.0.1 ISO Install | Cluster Web Server, Telephony Servers | VERSION: 2.14-897a BUILD: 230927-0857
rhonautics
 
Posts: 25
Joined: Wed Nov 05, 2014 5:57 am
Location: Legazpi City, Philippines

Re: Access forbidden! on recording links

Postby williamconley » Wed Feb 07, 2018 1:55 pm

1) Good job posting specs.

2) Consider -R on chmod (but shouldn't be necessary)

3) Show the present owner/ll results on the folder in question

4) /var/log/apache2 error log(s) that occur when this happens. May contain a hint.

5) Seriously consider activating the script to push audio to ftp
Code: Select all
/usr/share/astguiclient/AST_CRON_audio_3_ftp.pl

This script can push to the same server in the /home/ folder or a completely different web/ftp server while maintaining links within Vicidial so they still work. This offloads a large amount of data from the server so the drive usage remains small. In case of catastrophic failure, that comes in very handy (no need to recover 750G of client audio files from a backup file while the call center Waits Patiently!).

Even if you just mount a 2nd HD in /home/, that HD won't need rebuilding in case the main HD dies one day.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Access forbidden! on recording links

Postby rhonautics » Fri Feb 09, 2018 4:28 am

Thank you for the reply williamconley.

It was indeed a folder permission issue. What I did was:
Code: Select all
find /var/spool/asterisk -type d -exec chmod 755 {} \;
find /var/spool/asterisk -type f -exec chmod 644 {} \;

Not sure if it's necessary to chmod the files, but i did it anyway.

And yes, I'm definitely considering the audio files ftp.

--
Ronnie
Vicibox 8.0.1 ISO Install | Cluster Database | VERSION: 2.14-897a BUILD: 230927-0857 | Intel Xeon E5-2630v4 2.2GHz | 32GB RAM | 6x600GB SAS
Vicibox 8.0.1 ISO Install | Cluster Web Server, Telephony Servers | VERSION: 2.14-897a BUILD: 230927-0857
rhonautics
 
Posts: 25
Joined: Wed Nov 05, 2014 5:57 am
Location: Legazpi City, Philippines

Re: Access forbidden! on recording links

Postby Kumba » Sat Feb 10, 2018 12:51 pm

You need to reverse your changes to the vicirecord.conf file. The old Apache 2.2 configs won't work properly and will likely prevent Apache from starting up correctly.
Kumba
 
Posts: 939
Joined: Tue Oct 16, 2007 11:44 pm
Location: Florida

Re: Access forbidden! on recording links

Postby rhonautics » Sun Feb 11, 2018 12:23 pm

Yes, I reverted to the default vicirecord.conf as the changes I made did not resolve the issue.
Vicibox 8.0.1 ISO Install | Cluster Database | VERSION: 2.14-897a BUILD: 230927-0857 | Intel Xeon E5-2630v4 2.2GHz | 32GB RAM | 6x600GB SAS
Vicibox 8.0.1 ISO Install | Cluster Web Server, Telephony Servers | VERSION: 2.14-897a BUILD: 230927-0857
rhonautics
 
Posts: 25
Joined: Wed Nov 05, 2014 5:57 am
Location: Legazpi City, Philippines

Re: Access forbidden! on recording links

Postby micom67 » Wed May 30, 2018 6:20 am

Hi Can evrybudy help

Vicidial 8.01

Error 404

RECORDINGS/MP3 not work

and i can not hear the voice in web gui.
micom67
 
Posts: 12
Joined: Wed Aug 14, 2013 3:34 am

Re: Access forbidden! on recording links

Postby btaveras » Wed Jun 20, 2018 7:54 pm

have the same problem!! how is the fix???????????????
btaveras
 
Posts: 37
Joined: Fri Oct 17, 2008 4:16 pm

Re: Access forbidden! on recording links

Postby williamconley » Wed Jun 20, 2018 10:00 pm

btaveras wrote:have the same problem!! how is the fix???????????????

you've posted NOTHING about your system so here is a guess.
Code: Select all
chmod -R 755 /var/spool/asterisk
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20253
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Access forbidden! on recording links

Postby btaveras » Wed Jun 20, 2018 10:34 pm

Lol nevermind it was a user permission thing allow recordings
btaveras
 
Posts: 37
Joined: Fri Oct 17, 2008 4:16 pm

Re: Access forbidden! on recording links

Postby wahmed » Fri Jul 27, 2018 3:11 pm

Recording access forbidden
chown -R wwwrun:root /var/spool/asterisk/monitorDONE
Enter this command on root and check issue Will be Solved .100%
wahmed
 
Posts: 1
Joined: Fri Jul 20, 2018 10:26 am

Re: Access forbidden! on recording links

Postby asifrahmanbd » Wed Sep 26, 2018 2:51 am

wahmed wrote:Recording access forbidden
chown -R wwwrun:root /var/spool/asterisk/monitorDONE
Enter this command on root and check issue Will be Solved .100%


Cool man! you are such a genius :idea: .
asifrahmanbd
 
Posts: 2
Joined: Sun Jun 17, 2012 6:02 am


Return to ViciBox Server Install and Demo

Who is online

Users browsing this forum: No registered users and 42 guests