Page 1 of 1

accessing recordings on latest version of vicibox

PostPosted: Mon Sep 02, 2013 2:12 pm
by richardroi
Support help!

I'm having this error on apachelog" [error] [client 192.168.150.115] (13)Permission denied: access to /RECORDINGS/ denied" on new ViciBox5.x86_64-5.0.2 version.
All are working incoming and outgoing calls. But when I tried accessing the recordings it is saying " error 403" Access Forbidden" You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.

Re: accessing recordings on latest version of vicibox

PostPosted: Thu Sep 05, 2013 8:11 am
by DomeDan
Do you have a archive server or is it just a single server setup?

Look at the files and see what permission they got now:
ls -lR /var/spool/asterisk/monitorDONE/ | tail

if its not "XXXXXXr--" then you need to make the files readable

the quick and dirty way to get it working is:
chmod -R a+r /var/spool/asterisk/monitorDONE/

tell us more about the system and we might be able to figure out why they were not readable

there are similar thread on the forum you probably should find and read viewtopic.php?f=4&t=28273

Re: accessing recordings on latest version of vicibox

PostPosted: Tue Jul 15, 2014 1:41 pm
by soulofmischief87
I am having the very same issue running vicibox 6.0. Here is the apache error I am getting with attempting to access the files
[Tue Jul 15 11:32:04.294039 2014] [core:error] [pid 5004] (13)Permission denied: [client XX.XXX.XXX.XX:61312] AH00035: access to /RECORDINGS/MP3/20140715-090338_XXXXXXXXXXX-all.mp3 denied (filesystem path '/var/spool/asterisk/monitorDONE') because search permissions are missing on a component of the path.

I have tried the suggestion above and have found no solution here are the file permissions:


-rw-r--r--

Re: accessing recordings on latest version of vicibox

PostPosted: Wed Jul 16, 2014 7:12 pm
by deficit
You need to modify the httpd.conf file to allow your IP address to access ...

if using goautodial you need to edit /etc/httpd/conf.d/goautodial.conf

Re: accessing recordings on latest version of vicibox

PostPosted: Thu Jul 17, 2014 2:35 am
by geoff3dmg
If I recall this is because the webserver doesn't have read/execute permissions on all the directories down to the MonitorDONE directory. Check the file system permissions.

Re: accessing recordings on latest version of vicibox

PostPosted: Thu Jul 17, 2014 9:09 pm
by covarrubiasgg
soulofmischief87 wrote:I am having the very same issue running vicibox 6.0. Here is the apache error I am getting with attempting to access the files
[Tue Jul 15 11:32:04.294039 2014] [core:error] [pid 5004] (13)Permission denied: [client XX.XXX.XXX.XX:61312] AH00035: access to /RECORDINGS/MP3/20140715-090338_XXXXXXXXXXX-all.mp3 denied (filesystem path '/var/spool/asterisk/monitorDONE') because search permissions are missing on a component of the path.

I have tried the suggestion above and have found no solution here are the file permissions:


-rw-r--r--


I Solved this today on a fresh Vicibox 6.0 install by modifying the /etc/apache2/conf.d/vicirecord.conf

Alias /RECORDINGS/ "/var/spool/asterisk/monitorDONE/"

<Directory "/var/spool/asterisk/monitorDONE">
Options -Indexes MultiViews
AllowOverride None
Require all granted
Order allow,deny
Allow from all

<files *.mp3>
Forcetype application/forcedownload
</files>
</Directory>


Plus

Code: Select all
chmod 755 /var/spool/asterisk

Re: accessing recordings on latest version of vicibox

PostPosted: Fri Jul 18, 2014 2:58 am
by geoff3dmg
make sure /var and /var/spool are world readable/executable too.

Re: accessing recordings on latest version of vicibox

PostPosted: Tue Dec 15, 2015 1:50 pm
by rashid
deficit wrote:You need to modify the httpd.conf file to allow your IP address to access ...

if using goautodial you need to edit /etc/httpd/conf.d/goautodial.conf

Re: accessing recordings on latest version of vicibox

PostPosted: Tue Dec 15, 2015 2:36 pm
by rashid
deficit wrote:You need to modify the httpd.conf file to allow your IP address to access ...

if using goautodial you need to edit /etc/httpd/conf.d/goautodial.conf