Page 1 of 1

regards recording

PostPosted: Tue Dec 08, 2009 11:01 am
by callcentersolutions
what i have seen is in crontab -e
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

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 --GSM

Can i modify it so that i could run only after the shift, not in every 3 minutes. What could be the side effect?
vicidialnow 1.2
astguiclient VERSION: 2.0.4-120

PostPosted: Tue Dec 08, 2009 12:49 pm
by mflorell
I wouldn't remove the first step if you are using a RAM(tmpfs) drive. The compression one you can move to after-hours.

PostPosted: Tue Dec 08, 2009 2:43 pm
by callcentersolutions
thanx mflorell,
my system shows like this type of partition
Filesystem Size Used Avail Use% Mounted on
/dev/sdb1 73G 59G 11G 85% /
/dev/sda1 99M 11M 83M 12% /boot
tmpfs 1013M 0 1013M 0% /dev/shm
which is auto created by vicidialnow.
donot know whether it uses tmpfs or not.
Can you suggest me to remove both lines and execute both of them at end of the shift so that during shift time, no more load on dialer.
thanx a lot

PostPosted: Tue Dec 08, 2009 6:14 pm
by mflorell
Are you only recording ViciDial agent calls?

PostPosted: Wed Dec 09, 2009 1:12 pm
by callcentersolutions
Yes. We are recording all the calls too. What i want is to run that scripts only after the end of shift to minimize the load on dialer.
Thanx a lot

PostPosted: Wed Dec 09, 2009 3:05 pm
by mflorell
Then you should be using the VDonly script for step one and not the mixing script. The VDonly script does not mix the in and out files because meetme recordings are already premixed. This means the VDonly step one process takes almost no CPU time and is very easy on load.

PostPosted: Wed Dec 09, 2009 3:08 pm
by callcentersolutions
Thanx for quick reply.
So i would like to know why those two lines are enable on vicidialnow version over doing this simple one. I would like to be just clear so that i have no confusion on it :)
Thanx a lot.

PostPosted: Wed Dec 09, 2009 4:50 pm
by mflorell
You would have to ask gardo that, we don't maintain ViciDialNow

PostPosted: Thu Dec 10, 2009 11:09 am
by gardo
@callcentersolutions: The following are the default recordings scripts enabled on a Vicidial system via the install from scratch document.

### 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_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 --GSM
#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

Going further, you might want to take a look at those scripts and see what they do so you can better understand what's going on.

There are different ways on how to handle call recordings. Some want the calls done in MP3, GSM and even WAV. Others want the transcoding done near realtime hence the sequence of scripts above. Others want it done during offpeak hours.

The entries above are the default ones if you follow the Vicidial install from scratch document. Most call recording requirements are met by the default scripts.

PostPosted: Sat Dec 12, 2009 9:46 am
by callcentersolutions
Gardo,
Thanx for the reply.
What i am looking for is i want to minimize the load on dialer during shift. I would like to enable only basic recording in the sense like only in wav file. The gsm script can be run after the shift. So what will be the effect of commenting all 3 lines the lines except 2 line.

#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_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 --GSM
#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

Thanx