Page 1 of 1

Calls are not being recorded properly

PostPosted: Thu Jun 16, 2016 2:11 am
by muyousif
Hi experts, having one weird issue, few calls are not being recorded properly. Only one leg (incoming) is recorded properly but the second leg (out) is not recorded properly. Issue happens randomly on all dialers, I am using 3 dialers and load is fine on all servers. Disk space is fine. Directory permissions are fine.

2.4M -rw-r--r-- 1 0 0 2.4M Jun 16 10:47 ./monitorDONE/ORIG/20160616-104507_03227964871-in.wav
4.0K -rw-r--r-- 1 0 0 44 Jun 16 10:47 ./monitorDONE/ORIG/20160616-104507_03227964871-out.wav

1.1M -rw-r--r-- 1 0 0 1.1M Jun 16 10:24 ./monitorDONE/ORIG/20160616-102304_03234415086-in.wav
4.0K -rw-r--r-- 1 0 0 44 Jun 16 10:24 ./monitorDONE/ORIG/20160616-102304_03234415086-out.wav

You can see the related recordings links (http://192.168.172.94.....) in User Stats report.

Image

Please help to resolve this issue. Thanks a lot.

Re: Calls are not being recorded properly

PostPosted: Thu Jun 16, 2016 1:12 pm
by frequency
Please check cronjobs and also can u check tell the settings in /etc/astguiclient.conf for ftp records and recording link?

Re: Calls are not being recorded properly

PostPosted: Fri Jun 17, 2016 12:20 am
by muyousif
I have checked cronjobs on all three dialers which are running fine.

### 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 --MP3

/etc/astguiclient.conf file has following entries.

# FTP recording archive connection information
VARFTP_host => 192.168.172.90
VARFTP_user => xxxxxxx
VARFTP_pass => xxxxxxx
VARFTP_port => 21
VARFTP_dir => recordings
VARHTTP_path => http://milvikrec.connectel.com.pk/archive

if there is any issue with these cronjobs or astguiclient.conf entries then it could affect on all recordings. This is happening only for few calls.

Re: Calls are not being recorded properly

PostPosted: Fri Jun 17, 2016 12:32 am
by williamconley
I'll need a better description than "not proper". Note that the In/Out files aren't used as you would expect. Both sides of the conversation are usually in one file and the combining of the two files doesn't really do anything.

So: What exactly is your symptom?

Re: Calls are not being recorded properly

PostPosted: Fri Jun 17, 2016 8:48 am
by muyousif
Thanks William, you are right call is being recorded in only one leg "20160616-104507_03227964871-in.wav". So according to the cronjobs, in first step this recording should be converted into 20160616-104507_03227964871-all.wav and web link should be http://192.168.172.94/recordings/201606 ... 71-all.wav. Then in second step recording will be converted to mp3, saved to archive server and web link will be updated to http://milvikrec.connectel.com.pk/archive.......
But unfortunately cronjob scripts just moving recording to /monitorDONE/ORIG/20160616-104507_03227964871-in.wav but weblink is updated as http://192.168.172.94/recordings/201606 ... 71-all.wav so when I click on weblink I just get not found. The subject call recording is not converted to mp3 and not saved to archive server. I had to use linux console to do all this stuff manually. I am sorry for my poor english. Let me know if I am missing anything.

Re: Calls are not being recorded properly

PostPosted: Fri Jun 17, 2016 2:06 pm
by williamconley
muyousif wrote: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 --MP3

The first one should be commented out. It should be:
Code: Select all
#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 --MP3

Re: Calls are not being recorded properly

PostPosted: Wed Jun 22, 2016 12:37 pm
by muyousif
Thanks William, You are the star. It is fixed with you suggested help.

Re: Calls are not being recorded properly

PostPosted: Wed Jun 22, 2016 12:59 pm
by williamconley
Good postback. Glad to hear it worked. Now hang around and answer a few newbie questions ... 8-)