permission recordings

All installation and configuration problems and questions

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

permission recordings

Postby trandos » Thu Dec 09, 2010 3:13 pm

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
trandos
 
Posts: 224
Joined: Mon May 17, 2010 9:36 am

Postby gardo » Thu Dec 09, 2010 5:18 pm

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.
http://goautodial.com
Empowering the next generation contact centers
gardo
 
Posts: 1926
Joined: Fri Sep 15, 2006 10:24 am
Location: Manila, 1004

Postby trandos » Thu Dec 09, 2010 6:23 pm

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.
trandos
 
Posts: 224
Joined: Mon May 17, 2010 9:36 am

Postby williamconley » Thu Dec 09, 2010 9:44 pm

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)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby trandos » Fri Dec 10, 2010 2:11 am

i put there the ip of my server.

my mistake !

thanks for your help
trandos
 
Posts: 224
Joined: Mon May 17, 2010 9:36 am

Postby williamconley » Fri Dec 10, 2010 9:26 am

kinda why i asked. (gardo's stuff, as a rule, WORKS) :)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: permission recordings

Postby Nelsont » Wed Aug 01, 2018 8:35 am

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
Nelsont
 
Posts: 5
Joined: Mon Jul 16, 2018 12:56 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 91 guests