Recordings Access Problem

All installation and configuration problems and questions

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

Recordings Access Problem

Postby GDelkos » Fri Apr 24, 2015 10:03 am

Hi there
i am having a problem that i cant access the recordings.
i am running a vicibox 5.0 on suse

i have read a lot of posts in the forum that have to do with the same problem.
my conf file looks good my permisions also the one thing that i can imagine is not that good is this one:
Apr 24 15:50:11 ViciboxDRIO start_apache2[6490]: [Fri Apr 24 15:50:11.819067 2015] [alias:warn] [pid 6490] AH00671: The Alias directive in /etc/apache2/conf.d/viciarchive.conf at line 16 will probably never match because it overlaps an earlier Alias.
Apr 24 15:50:11 ViciboxDRIO start_apache2[6490]: [Fri Apr 24 15:50:11.819135 2015] [alias:warn] [pid 6490] AH00671: The Alias directive in /etc/apache2/conf.d/vicirecord.conf at line 1 will probably never match because it overlaps an earlier Alias.

can someone help with this one?

Thank you in advance
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am

Re: Recordings Access Problem

Postby GDelkos » Tue Apr 28, 2015 9:36 am

For anyone facing the same problem.

/etc/apache2/conf.d # nano viciarchive.conf


Alias /archive/ "/home/archive/"

<Directory "/home/archive">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
<files *.mp3>
Forcetype application/forcedownload
</files>
</Directory>

/etc/apache2/conf.d # nano vicirecord.conf

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>


and ofc permissions on the system must be correct.

chmod 777 /var
chmod 777 /var/spool
chmod 777 /var/spool/asterisk
chmod 777 /var/spool/asterisk/monitorDone
chmod 777 /var/spool/asterisk/monitorDone/MP3/
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am

Re: Recordings Access Problem

Postby GDelkos » Tue Apr 28, 2015 9:37 am

dont forget to restart apache2

systemctl apache2 restart

happy hunting :)
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am

Re: Recordings Access Problem

Postby iboam » Tue Mar 22, 2016 5:25 pm

i'm not able to listen / download any recording ...

You do not have permissions to access recordings


when i do your changes i got this error
vicibox7:~ # systemctl restart apache2
Job for apache2.service failed. See "systemctl status apache2.service" and "journalctl -xn" for details.


my link says http://serverip/vicidial/recording_log_ ... ived_data=
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: Recordings Access Problem

Postby GDelkos » Tue Nov 08, 2016 4:21 am

as you can see for your self your problem is located on your apache2 and not your permisions
GDelkos
 
Posts: 67
Joined: Tue Dec 02, 2014 8:50 am


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 124 guests