Solved: Access forbidden! on recording links

All installation and configuration problems and questions

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

Solved: Access forbidden! on recording links

Postby mav2287 » Tue Oct 15, 2013 10:47 pm

I know this one has been covered many times on the forum and I have read as many as I could find. It looked like most of the time it was related the vici_record.conf so I started there looking for the file in the Httpd folder. I tried to change this but quickly found out the file was gone or had moved. I found it in /etc/apache2/confid/vicirecord.conf and I added my IP and even the Alias code at the bottom pointing to the monitor folder. However every time I follow a link in Vicidial it takes me to an Access forbidden! page. I did check in the monitorDONE folder and I am recording calls. I just can't seem to crack what I need to do to make the links in the admin page work instead of going to the Access forbidden! page. I also check my apache error log file and couldn't seem to find anything helpful. Any ideas?
Last edited by mav2287 on Sat Oct 19, 2013 12:56 pm, edited 1 time in total.
ViciBox5.x86_64-5.0.3.preload from .iso upgraded to 13.1 | VERSION: 2.10-444c BUILD: 150129-0828 | 1.8.32.2-vici | Dual Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel twin quad core 3Ghz Xeon chips | 32gb of RAM
mav2287
 
Posts: 256
Joined: Thu Oct 03, 2013 6:47 pm

Re: Access forbidden! on recording links

Postby DomeDan » Wed Oct 16, 2013 3:55 am

post your vicirecord.conf file and also check the permission on the monitorDONE folder and files:
ls -l /var/spool/asterisk/
ls -l /var/spool/asterisk/monitorDONE/
ls -l /var/spool/asterisk/monitorDONE/*/|head -50
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: Access forbidden! on recording links

Postby richardroi » Wed Oct 16, 2013 9:53 am

try this...using winscp go to /var/spool change your permission on asterisk folder.
But make sure to lock it down. viewtopic.php?f=4&t=29568
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: Access forbidden! on recording links

Postby mav2287 » Thu Oct 17, 2013 3:58 pm

checked permissions working on the other item the file looks like this

Code: Select all
lias /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>
Alias /RECORDINGS /var/spool/asterisk/monitorDONE
Alias /recordings /var/spool/asterisk/monitorDONE
ViciBox5.x86_64-5.0.3.preload from .iso upgraded to 13.1 | VERSION: 2.10-444c BUILD: 150129-0828 | 1.8.32.2-vici | Dual Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel twin quad core 3Ghz Xeon chips | 32gb of RAM
mav2287
 
Posts: 256
Joined: Thu Oct 03, 2013 6:47 pm

Re: Access forbidden! on recording links

Postby richardroi » Fri Oct 18, 2013 6:01 am

Code: Select all
chmod 755 /var/spool/asterisk
try this...
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: Access forbidden! on recording links

Postby mav2287 » Fri Oct 18, 2013 6:36 pm

That did it thanks man!
ViciBox5.x86_64-5.0.3.preload from .iso upgraded to 13.1 | VERSION: 2.10-444c BUILD: 150129-0828 | 1.8.32.2-vici | Dual Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel twin quad core 3Ghz Xeon chips | 32gb of RAM
mav2287
 
Posts: 256
Joined: Thu Oct 03, 2013 6:47 pm

Re: Solved: Access forbidden! on recording links

Postby williamconley » Sat Oct 19, 2013 4:37 pm

but change

Code: Select all
Options Indexes MultiViews


to

Code: Select all
Options -Indexes MultiViews


This will remove "browsing" ability. So anyone who gains access will need to use a link directly to a file. This reduces your exposure should someone you don't like gain access to the folder!
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Solved: Access forbidden! on recording links

Postby mav2287 » Sun Oct 20, 2013 12:24 pm

Thanks William I got that added I think that would be a good thing to add to the Vicibox preload
ViciBox5.x86_64-5.0.3.preload from .iso upgraded to 13.1 | VERSION: 2.10-444c BUILD: 150129-0828 | 1.8.32.2-vici | Dual Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel twin quad core 3Ghz Xeon chips | 32gb of RAM
mav2287
 
Posts: 256
Joined: Thu Oct 03, 2013 6:47 pm

Re: Solved: Access forbidden! on recording links

Postby williamconley » Sun Oct 20, 2013 8:20 pm

More of a personal preference thing. If the folder is IP locked or password protected, browsing could be useful.
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Access forbidden! on recording links

Postby mattyou1985 » Tue May 24, 2016 9:50 am

richardroi wrote:
Code: Select all
chmod 755 /var/spool/asterisk
try this...



i bumped in to the same problum with vicibox VERSION: 2.12-557a BUILD: 160517-1927

i just ran chmod 755 /var/spool/asterisk in putty and no more Access forbidden! woop woop thank you and good to no old fixes still work on new versions
mattyou1985
 
Posts: 111
Joined: Tue Apr 19, 2016 3:30 pm

Re: Access forbidden! on recording links

Postby williamconley » Tue May 24, 2016 9:55 am

mattyou1985 wrote:
richardroi wrote:
Code: Select all
chmod 755 /var/spool/asterisk
try this...



i bumped in to the same problum with vicibox VERSION: 2.12-557a BUILD: 160517-1927

i just ran chmod 755 /var/spool/asterisk in putty and no more Access forbidden! woop woop thank you and good to no old fixes still work on new versions

This issue is related to the Vicibox vesion, not the Vicidial version (the installation software creates the environment, this is part of that environment ... NOT part of the dialer software).
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: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Solved: Access forbidden! on recording links

Postby mattyou1985 » Sat May 28, 2016 10:32 am

my version of vicibox is ViciBox v.7.0.3-160505 vicidial VERSION: 2.12-557a BUILD: 160517-1927

dident no wair 100% is was related to just new that it was not part of vicibox v6 and befor that so figerd that new version of vicibox or the new version vicidial was to blame as i like to do onley new installs (using iso) then updates for the miner fixes
mattyou1985
 
Posts: 111
Joined: Tue Apr 19, 2016 3:30 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 35 guests