Page 1 of 1

permission recordings

PostPosted: Thu Dec 09, 2010 3:13 pm
by trandos
hi guys,

even i will hear a recordingfile i got this message

Forbidden

You don't have permission to access /RECORDINGS/GSM/20101209-140745_XXXXXXXXX_0011-all.gsm on this server.
Apache/2.2.3 (CentOS) Server at XXXXXXXXXX Port 80

where i can change the permissions??

i have install from iso
GoAutoDial CE 2.0
Vicidial 2.2.1
Asterisk 1.4.27.1-vici

VERSION: 2.2.1-260 BUILD: 100527-2211

thanks

PostPosted: Thu Dec 09, 2010 5:18 pm
by gardo
Edit this file:

/etc/httpd/conf.d/vicidial_recordings.conf


Looks like:

<Directory "/var/spool/asterisk/monitorDONE">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Options Indexes FollowSymLinks

</Directory>

Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE


Add your IP address so it looks like:

<Directory "/var/spool/asterisk/monitorDONE">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 192.168.1.3 (example IP address)
Options Indexes FollowSymLinks

</Directory>

Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE


Reload or restart Apache for the changes to take effect.

PostPosted: Thu Dec 09, 2010 6:23 pm
by trandos
hi gardo thanks for your answer but nothing changed after i reboot completly.

i change tha conf file to:


<Directory "/var/spool/asterisk/monitorDONE">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 79.98.XX.XXX
Options Indexes FollowSymLinks

</Directory>

Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE

reboot my system and i get the same message again.

PostPosted: Thu Dec 09, 2010 9:44 pm
by williamconley
and you're sure you put in the correct ip address? (try something like showmyip.com to verify! From the same machine getting the permission message)

PostPosted: Fri Dec 10, 2010 2:11 am
by trandos
i put there the ip of my server.

my mistake !

thanks for your help

PostPosted: Fri Dec 10, 2010 9:26 am
by williamconley
kinda why i asked. (gardo's stuff, as a rule, WORKS) :)

Re: permission recordings

PostPosted: Wed Aug 01, 2018 8:35 am
by Nelsont
Hi all, how do you get to that part, where do i go to get there

<Directory "/var/spool/asterisk/monitorDONE">
Order Deny,Allow
Deny from all
Allow from 127.0.0.1 79.98.XX.XXX
Options Indexes FollowSymLinks

</Directory>

Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE