accessing recordings on latest version of vicibox

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

accessing recordings on latest version of vicibox

Postby richardroi » Mon Sep 02, 2013 2:12 pm

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.
ViciBox v.5.0.2-130807 | BUILD: 130809-1410 | SVN Version: 2019 | Asterisk: 1.8.23-vici
64bit Single Server/ ISO Preload Install
Inbound/Blended
richardroi
 
Posts: 373
Joined: Mon Mar 21, 2011 7:20 pm

Re: accessing recordings on latest version of vicibox

Postby DomeDan » Thu Sep 05, 2013 8:11 am

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
Vicidial Partner. Region: Sweden/Norway.
Does Vicidial installation, configuration, customization, add-ons, CRM implementation, support, upgrading, network-related, pentesting etc. Remote and onsite assistance.
Email: domedan (at) gmail.com
DomeDan
 
Posts: 1226
Joined: Tue Jan 04, 2011 9:17 am
Location: Sweden

Re: accessing recordings on latest version of vicibox

Postby soulofmischief87 » Tue Jul 15, 2014 1:41 pm

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--
soulofmischief87
 
Posts: 14
Joined: Tue Jun 23, 2009 7:39 pm

Re: accessing recordings on latest version of vicibox

Postby deficit » Wed Jul 16, 2014 7:12 pm

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
deficit
 
Posts: 30
Joined: Thu Jul 11, 2013 2:01 pm

Re: accessing recordings on latest version of vicibox

Postby geoff3dmg » Thu Jul 17, 2014 2:35 am

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.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: accessing recordings on latest version of vicibox

Postby covarrubiasgg » Thu Jul 17, 2014 9:09 pm

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
covarrubiasgg
 
Posts: 420
Joined: Thu Jun 10, 2010 10:20 am
Location: Tijuana, Mexico

Re: accessing recordings on latest version of vicibox

Postby geoff3dmg » Fri Jul 18, 2014 2:58 am

make sure /var and /var/spool are world readable/executable too.
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: accessing recordings on latest version of vicibox

Postby rashid » Tue Dec 15, 2015 1:50 pm

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
rashid
 
Posts: 2
Joined: Tue Dec 15, 2015 1:46 pm

Re: accessing recordings on latest version of vicibox

Postby rashid » Tue Dec 15, 2015 2:36 pm

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
rashid
 
Posts: 2
Joined: Tue Dec 15, 2015 1:46 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 120 guests