Calls are not being recorded properly

All installation and configuration problems and questions

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

Calls are not being recorded properly

Postby muyousif » Thu Jun 16, 2016 2:11 am

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.
ViciBox v.6.0.3 | VERSION: 2.14-685a BUILD: 180825-2100| Asterisk 1.8.29 | Cluster: 1 DB: 16Core@2.67GHz 16RAM | 1 WEB: 8Core@2.50GHz 16RAM | 8 Tel: QuadCore@2.93GHz 8RAM
muyousif
 
Posts: 119
Joined: Wed May 14, 2014 5:29 am

Re: Calls are not being recorded properly

Postby frequency » Thu Jun 16, 2016 1:12 pm

Please check cronjobs and also can u check tell the settings in /etc/astguiclient.conf for ftp records and recording link?
frequency
 
Posts: 117
Joined: Mon Jun 13, 2016 11:18 am

Re: Calls are not being recorded properly

Postby muyousif » Fri Jun 17, 2016 12:20 am

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.
ViciBox v.6.0.3 | VERSION: 2.14-685a BUILD: 180825-2100| Asterisk 1.8.29 | Cluster: 1 DB: 16Core@2.67GHz 16RAM | 1 WEB: 8Core@2.50GHz 16RAM | 8 Tel: QuadCore@2.93GHz 8RAM
muyousif
 
Posts: 119
Joined: Wed May 14, 2014 5:29 am

Re: Calls are not being recorded properly

Postby williamconley » Fri Jun 17, 2016 12:32 am

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?
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: Calls are not being recorded properly

Postby muyousif » Fri Jun 17, 2016 8:48 am

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.
ViciBox v.6.0.3 | VERSION: 2.14-685a BUILD: 180825-2100| Asterisk 1.8.29 | Cluster: 1 DB: 16Core@2.67GHz 16RAM | 1 WEB: 8Core@2.50GHz 16RAM | 8 Tel: QuadCore@2.93GHz 8RAM
muyousif
 
Posts: 119
Joined: Wed May 14, 2014 5:29 am

Re: Calls are not being recorded properly

Postby williamconley » Fri Jun 17, 2016 2:06 pm

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
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: Calls are not being recorded properly

Postby muyousif » Wed Jun 22, 2016 12:37 pm

Thanks William, You are the star. It is fixed with you suggested help.
ViciBox v.6.0.3 | VERSION: 2.14-685a BUILD: 180825-2100| Asterisk 1.8.29 | Cluster: 1 DB: 16Core@2.67GHz 16RAM | 1 WEB: 8Core@2.50GHz 16RAM | 8 Tel: QuadCore@2.93GHz 8RAM
muyousif
 
Posts: 119
Joined: Wed May 14, 2014 5:29 am

Re: Calls are not being recorded properly

Postby williamconley » Wed Jun 22, 2016 12:59 pm

Good postback. Glad to hear it worked. Now hang around and answer a few newbie questions ... 8-)
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!)


Return to Support

Who is online

Users browsing this forum: Majestic-12 [Bot] and 150 guests