Project

General

Profile

is it possible to generate folder date in recording in single dialer?

Added by marlon dionglay over 9 years ago

Hello All,

Need help?!

Single Dialer.

1. is it possible to generate date in recording ?

http://ipaddress/recordings/MP3/Date - Date as in today date.

so every day the system automatic generate own folder for recording.

Please need help and give me the guide.

Thanks,

MD


Replies (1)

RE: is it possible to generate folder date in recording in single dialer? - Added by Demian Biscocho over 9 years ago

This is possible. The easiest way to do is to enable the local FTP service in your GOautodial server. You then need to edit your crontab so that it FTPs the recordings locally.

Sample crontab:

  1. 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

Sample /etc/astguiclient.conf entries:

  1. FTP recording archive connection information
    VARFTP_host => $IP_ADDRESS_OF_SERVER
    VARFTP_user => $FTP_USER
    VARFTP_pass => $FTP_PASS
    VARFTP_port => 21
    VARFTP_dir => RECORDINGS
    VARHTTP_path => http://$IP_ADDRESS_OF_SERVER/RECORDINGS
    (1-1/1)
    Go to top