Recording Path Issue

All installation and configuration problems and questions

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

Recording Path Issue

Postby kalaula2 » Mon Apr 23, 2018 9:10 am

Hi guys, I have issue on my vicidial recordings path. if you access it via ipaddress/RECORDINGS/ it will return access forbidden but it works in ipaddress/recordings/.
but when i try to download the recording of the call on the modify lead page or user stats page it doesnt work as it uses the /RECORDINGS/ path no /recordings/

the system was installed using vicibox8

Please help.

Thanks
kalaula2
 
Posts: 16
Joined: Tue Aug 08, 2017 11:42 am

Re: Recording Path Issue

Postby blackbird2306 » Mon Apr 23, 2018 9:33 am

There is vicirecord.conf file in "/etc/apache2/conf.d/" directory.
Look into first line, it should be like this:
Code: Select all
Alias /RECORDINGS/ "/var/spool/asterisk/monitorDONE/"

Change it to upper-case, if it starts with Alias /recordings/...! Then restart apache.
Code: Select all
service apache2 stop
service apache2 start
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Recording Path Issue

Postby mflorell » Mon Apr 23, 2018 9:34 am

the locations are stored in the database like that. You should modify the /etc/astguiclient.conf file to use "recordings" instead of "RECORDINGS", then make sure new recordings links made after that conf file change are working properly, then you can do something like this in MySQL to change the old recordings:

UPDATE recording_log SET location = REPLACE(location, '/RECORDINGS/', '/recordings/') WHERE location LIKE ('%/recordings/%');
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Recording Path Issue

Postby kalaula2 » Mon Apr 23, 2018 11:04 am

Thank you for your response guys. will try and will let you know with the results ^_^
kalaula2
 
Posts: 16
Joined: Tue Aug 08, 2017 11:42 am

Re: Recording Path Issue

Postby kalaula2 » Mon Apr 23, 2018 11:11 am

Change it to upper-case, if it starts with Alias /recordings/...! Then restart apache.


How about it it starts with Alias /RECORDINGS/...? Should I change it to /recordings/...? I need to access the recordings on /recordings/ so sould I change it that way?
kalaula2
 
Posts: 16
Joined: Tue Aug 08, 2017 11:42 am

Re: Recording Path Issue

Postby blackbird2306 » Mon Apr 23, 2018 4:37 pm

No you shouldn't change it. I misunderstood the problem. The error was "access forbidden" and not "not found".
So try this:
Code: Select all
chmod 755 /var/spool/asterisk
chmod 755 /var/spool/asterisk/monitorDONE

Then post us the configuration file "vicirecord.conf". Strangely it works with "/recordings/", but not for "/RECORDINGS/". The reason for that might be in this config file.
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
blackbird2306
 
Posts: 409
Joined: Mon Jun 23, 2014 5:31 pm

Re: Recording Path Issue

Postby kalaula2 » Mon Apr 23, 2018 5:24 pm

Thank you for the reply blackbird2306... its working now.

indeed the error is caused by a permision. it worked after i run this

chmod 755 /var/spool/asterisk
chmod 755 /var/spool/asterisk/monitorDONE -R
kalaula2
 
Posts: 16
Joined: Tue Aug 08, 2017 11:42 am

Re: Recording Path Issue

Postby kalaula2 » Mon Apr 23, 2018 5:35 pm

still have an issue when checked on the list via ipaddress/vicidial/admin_modify_lead.php?lead_id=636476&archive_search=No&archive_log=0 and clicked the recording link on the RECORDINGS FOR THIS LEAD it returs "not a valid recording"
kalaula2
 
Posts: 16
Joined: Tue Aug 08, 2017 11:42 am


Return to Support

Who is online

Users browsing this forum: No registered users and 130 guests