Page 1 of 1

Recordings Access Problem

PostPosted: Fri Apr 24, 2015 10:03 am
by GDelkos
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

Re: Recordings Access Problem

PostPosted: Tue Apr 28, 2015 9:36 am
by GDelkos
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/

Re: Recordings Access Problem

PostPosted: Tue Apr 28, 2015 9:37 am
by GDelkos
dont forget to restart apache2

systemctl apache2 restart

happy hunting :)

Re: Recordings Access Problem

PostPosted: Tue Mar 22, 2016 5:25 pm
by iboam
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=

Re: Recordings Access Problem

PostPosted: Tue Nov 08, 2016 4:21 am
by GDelkos
as you can see for your self your problem is located on your apache2 and not your permisions