Page 1 of 1
Transfer Recording to Archive Server
Posted:
Thu Jul 05, 2012 2:47 pm
by benghoi
Hi Guys,
Do you know how to transfer the call recording to Archive Server?
In my way, im running this script :
perl /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3
But the problem is, this script will stop for how many minutes even there are still recordings has not been copy to archive server. Is there another script on this?
Thanks!
Re: Transfer Recording to Archive Server
Posted:
Thu Jul 05, 2012 9:26 pm
by williamconley
You should post the entire Asterisk version (not just 1.4). Otherwise great specifications posting.
The script is meant to be run in crontab (and in fact is already there if you installed with Vicibox, but "commented out" with a #).
It runs for a short while, moves a few files, and shuts off to avoid heavy load. If you merely remove the #, it will "eventually" copy all the files without stressing the server.
Re: Transfer Recording to Archive Server
Posted:
Fri Jul 06, 2012 9:43 am
by benghoi
thank for the reply here is the Asterisk version 1.4.38-vici. yes im installing Vicibox.
Can you please tell me where is that line need to remove the #?
One thing, should i change this line to whatever i want?
$file_limit = 1000;
Thanks
Re: Transfer Recording to Archive Server
Posted:
Fri Jul 06, 2012 10:01 am
by williamconley
- Code: Select all
crontab -e
$file_limit = 1000;
that depends ... where is it, and what do you want to change it to? And why? (I would not, for instance, recommend changing 1000 to "jehosaphat", even if you want to ...).
Re: Transfer Recording to Archive Server
Posted:
Fri Jul 06, 2012 10:07 am
by benghoi
It already commented out. is there a way to automatically save the recordings into my archive server without running that script?
Re: Transfer Recording to Archive Server
Posted:
Sat Jul 07, 2012 10:31 am
by williamconley
Of course there is! Build yourself another script. I'm afraid "concentrating really hard" isn't likely to do the trick. LOL
You could mirror the hard drive