2nd hard drive or ftp

General and Support topics relating to ViciDialNow and GoAutoDial ISO installers

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

2nd hard drive or ftp

Postby chasejordan1 » Sat May 28, 2011 1:44 pm

Which is the easiest solution and setup 2nd hard drive or ftp for recordings.

Thanks

Goautodial
VERSION: 2.2.1-237
BUILD: 100510-2015
asterisk version
1.4.27
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Postby chasejordan1 » Sat May 28, 2011 10:04 pm

I am going to give my opinion. FTP

Here is what I did.

For testing purposes. Downloaded filezilla server for windows used all default setting and opened up firewall on windows pc.

In filezilla set up user cron and pw test and set all permissions and created folder "RECORDINGS"

Then went into admin of Goautodial -> Server and changed "recording web link to "alt ip" then changed ip to ->10.1.10.58 then submit

then changed astguiclient as follows

PATHhome => /usr/share/astguiclient
PATHlogs => /var/log/astguiclient
PATHagi => /var/lib/asterisk/agi-bin
PATHweb => /var/www/html
PATHsounds => /var/lib/asterisk/sounds
PATHmonitor => /var/spool/asterisk/monitor
PATHDONEmonitor => /var/spool/asterisk/monitorDONE

# The IP address of this machine
VARserver_ip => 10.1.10.90

# Database connection information
VARDB_server => localhost
VARDB_database => asterisk
VARDB_user => cron
VARDB_pass => 1234
VARDB_port => 3306

# Alpha-Numeric list of the astGUIclient processes to be kept running
# (value should be listing of characters with no spaces: 123456)
# X - NO KEEPALIVE PROCESSES (use only if you want none to be keepalive)
# 1 - AST_update
# 2 - AST_send_listen
# 3 - AST_VDauto_dial
# 4 - AST_VDremote_agents
# 5 - AST_VDadapt (If multi-server system, this must only be on one server)
# 6 - FastAGI_log
# 7 - AST_VDauto_dial_FILL (only for multi-server, this must only be on one server)
# 8 - ip_relay (used for blind agent monitoring)
# 9 - Timeclock auto logout
VARactive_keepalives => 12345689

# Asterisk version VICIDIAL is installed for
VARasterisk_version => 1.4

# FTP recording archive connection information
VARFTP_host => 10.1.10.58
VARFTP_user => cron
VARFTP_pass => test
VARFTP_port => 21
VARFTP_dir => RECORDINGS
VARHTTP_path => http://10.1.10.58/RECORDINGS

"hopefully I did it right"

then went into crontab -e like this

env EDITOR=nano crontab -e

and then deleted the # sign here -> "see last entry "ftp.pl
### 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 --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

hit control o then enter then control x "exit"

and there ya go worked fine. Not sure if there is more I should do but it works "except" the web link because I haven't set up apache yet and I am ftping to window machine for testing but pretty easy I think.

PLEASE IF I MISSED SOMETHING LET "US" KNOW.

thanks
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Postby chasejordan1 » Sat May 28, 2011 10:05 pm

I wish I new how to change the setting so it sent to ftp once a day instead of every 3 minutes but maybe someone will show us on that one.
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Postby Trying » Sun May 29, 2011 3:53 am

If you would like to ftp the recordings at 3am you would replace 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 with 0 3 * * * /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --GSM
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby chasejordan1 » Sun May 29, 2011 10:27 am

Thanks, just to clarify, is it 03*** or 0,3,****
Note the comma and 4 stars.

Thanks again
chasejordan1
 
Posts: 182
Joined: Fri Mar 07, 2008 11:57 am

Postby Trying » Sun May 29, 2011 10:55 am

The way I gave it to you should do it. Just copy and paste it exactly as is. Give it a try :)
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa


Return to ViciDialNow - GoAutoDial

Who is online

Users browsing this forum: No registered users and 41 guests