Page 1 of 1

Recording Location missing

PostPosted: Sat Jul 13, 2013 2:40 am
by pargat
Hi,

I am using goautodial 2.1, VERSION: 2.4-309a BUILD: 110430-1642, A Sangoma Card is installed for PRI lines. No other software installed.
All calls inbound and outbound working fine.

The inbound calls and the inbound groups are set to record all calls. but when I try to go and look for a recording the file name is there but the location field is blank.

RECORDINGS FOR THIS LEAD:
# LEAD DATE/TIME SECONDS RECID FILENAME LOCATION TSR
1 7 2013-07-13 03:05:38 32 1799 9818312462-20130713-123537 agent001
2 7 2013-07-12 07:44:04 41 1629 9818312462-20130712-171403 agent010

If I go into the server and check at the /var/spool/asterisk/monitorDone folder there are a lot of files, but with filenames which appear as
1373565521-Local-58600059@default-366d,1-all.mp3

the crontab -l lists the following things at the top

### recording mixing/compressing/ftping scripts
0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_mix.pl --MIX
#0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45,48,51,54,57 * * * * /usr/share/astguiclient/AST_CRON_audio_1_move_VDonly.pl
1,4,7,10,13,16,19,22,25,28,31,34,37,40,43,46,49,52,55,58 * * * * /usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3
#2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --GSM

Please let me know what could be wrong.

thanks in advance

Re: Recording Location missing

PostPosted: Sat Jul 13, 2013 7:44 am
by gardo
Upgrading to GOautodial version 3 is highly recommended. We don't support versions 2.1 and below anymore. Here's the HOWTO: http://goautodial.org/projects/goautodialce/wiki/UpgradeCE21to30.

Re: Recording Location missing

PostPosted: Sat Jul 13, 2013 8:41 pm
by williamconley
upgrading is a VERY good idea.

if that still does not fix it, check to see if that file exists on your HD for starters, and then we can work on linking you to it with the proper vicidial scripts. upgrading may resolve all of that on new calls, but you may need to go back and "fix" prior calls. so checking to see if they are there is not a bad idea. 8-)

Re: Recording Location missing

PostPosted: Wed Jul 24, 2013 8:12 am
by pargat
Hi,
I have upgraded to goautodial 3.0 as per the instructions on the link. The issue remains the same. The recordings now shows a link but the file downloaded is of 0 size.

@williamconley: The files are existing on the HD as I wrote earlier also in my original posting. Just not named/linked correctly. So something is not running properly.

Do let me know what more info do I need to provide.

Re: Recording Location missing

PostPosted: Sat Aug 03, 2013 12:02 am
by williamconley
1) are the files on the disk correct (download one with winscp and check it out)

2) is the URL correct? (please tell me you know how to check this as it is a bit beyond the scope of Vicidial and falls into "basic apache web server" category)

3) do you have permission to view the site/folder the files are in from apache? (yes, the goautodial system controls access to the recordings folder)

4) Have you checked the goautodial wiki/documentation regarding access to recordings?

I don't normally mess with goautodial recordings, but we've fixed a few that generally just turn out to be "add your IP to the allowed list".

However, sometimes it is the crontab audio mix/move scripts that are not active so the files do not exist. This usually happens when a Linux person makes changes that someone following the wiki (with no linux experience) would never change ... ie: too smart so they break things. LOL

Re: Recording Location missing

PostPosted: Mon Aug 05, 2013 11:12 pm
by pargat
I got it working !!! :)
The files on the disk were correct!

It was the permissions issue on the recordings folder. Since I had changed the ip address from 192.168.xx.xx to 172.16.xx.xx series. The same subnet needed to be added to the /etc/httpd/conf.d/vicidial-recordings.conf

thanks william
cheers

Re: Recording Location missing

PostPosted: Thu Aug 08, 2013 6:33 pm
by gardo
Great to hear that you have it working. 8)

Re: Recording Location missing

PostPosted: Thu Aug 08, 2013 8:05 pm
by williamconley
Maybe that recording permissions thing should be in BOLD on your setup wiki? LOL