Audio Archive Issues

All installation and configuration problems and questions

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

Audio Archive Issues

Postby udfxrookie » Thu Sep 18, 2014 7:18 am

Recently created two setups off CD Vicibox_v.6.0.x86_64-6.0.2.iso (base install, no additional hardware, no RAID,etc)
One is an AIO server, the second is an AIO server with an additional dialer.
Same issue, but discussing the AIO w/ additional dialer.
All passwords are default as this is NOT a system in use or with any information in it.

My issue is that the calls after they are completed go through the "ftp process" and get moved into MonitorDONE/FTP... but not on the proper server.
Server A (AIO) say its 100.xxx.xxx.1 / 10.10.10.180
Dialer 1 we'll say is 100.xxx.xxx.2 / 10.10.10.181

I attempt to ftp and learn its lftp, which I change back:
Code: Select all
Problem: lftp-4.4.0-6.1.3.x86_64 conflicts with ftp provided by ftp-0.17-691.1.2.x86_64
 Solution 1: deinstallation of lftp-4.4.0-6.1.3.x86_64
 Solution 2: do not install ftp-0.17-691.1.2.x86_64

Choose from above solutions by number or cancel [1/2/c] (c): 1


After changing I log into the ftp from Dialer 1 via cronarchive/archive1234 :
Code: Select all
vici-d1:~ # ftp 10.10.10.180
Connected to 10.10.10.180 (10.10.10.180).
220 (vsFTPd 3.0.2)
Name (10.10.10.180:root): cronarchive
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
drwxr-xr-x    2 ftp      ftp          4096 Sep 17 17:44 2014-09-17
drwxr-xr-x    3 ftp      ftp          4096 Sep 17 18:11 recordings
226 Directory send OK.
ftp>


So I see the folder recordings is there, now onto astguiclient.conf
Code: Select all
# FTP recording archive connection information
VARFTP_host => 10.10.10.180
VARFTP_user => cronarchive
VARFTP_pass => archive1234
VARFTP_port => 21
VARFTP_dir => recordings
VARHTTP_path => http://100.xxx.xxx.1/recordings


However when the job finishes after a call it changes the url to be proper showing 100.xxx.xxx.1 but the recordings move to the FTP folder of 100.xxx.xxx.2!

Do I need to specifically edit files on the AIO that I am attempting to send the recordings to? edit any additional files on the dialer? I'm lost on this one with no error messages to check.

When I check /var/log/messages I see:
Code: Select all
2014-09-18T08:13:01.301087-04:00 vici-d1 /USR/SBIN/CRON[4752]: (root) CMD (/usr/share/astguiclient/AST_manager_kill_hung_congested.pl)
2014-09-18T08:13:01.301973-04:00 vici-d1 /USR/SBIN/CRON[4753]: (root) CMD (/usr/share/astguiclient/AST_CRON_audio_2_compress.pl --MP3)
2014-09-18T08:13:01.302588-04:00 vici-d1 /USR/SBIN/CRON[4751]: (root) CMD (/usr/share/astguiclient/AST_vm_update.pl)
2014-09-18T08:13:01.303323-04:00 vici-d1 /USR/SBIN/CRON[4754]: (root) CMD (/usr/share/astguiclient/ADMIN_keepalive_ALL.pl)
2014-09-18T08:13:01.416420-04:00 vici-d1 /USR/SBIN/CRON[4749]: pam_unix(crond:session): session closed for user root
2014-09-18T08:13:01.458700-04:00 vici-d1 /USR/SBIN/CRON[4746]: pam_unix(crond:session): session closed for user root
2014-09-18T08:13:06.350718-04:00 vici-d1 /USR/SBIN/CRON[4748]: pam_unix(crond:session): session closed for user root
2014-09-18T08:13:06.392342-04:00 vici-d1 /USR/SBIN/CRON[4745]: pam_unix(crond:session): session closed for user root
2014-09-18T08:13:45.350793-04:00 vici-d1 /USR/SBIN/CRON[4747]: pam_unix(crond:session): session closed for user root
2014-09-18T08:14:01.360353-04:00 vici-d1 /usr/sbin/cron[4847]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:14:01.361372-04:00 vici-d1 /usr/sbin/cron[4848]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:14:01.362186-04:00 vici-d1 /usr/sbin/cron[4849]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:14:01.362997-04:00 vici-d1 /usr/sbin/cron[4851]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:14:01.363954-04:00 vici-d1 /usr/sbin/cron[4850]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:14:01.364810-04:00 vici-d1 systemd[1]: Starting Session 5072 of user root.
2014-09-18T08:14:01.365360-04:00 vici-d1 systemd[1]: Started Session 5072 of user root.
2014-09-18T08:14:01.365665-04:00 vici-d1 systemd[1]: Starting Session 5070 of user root.
2014-09-18T08:14:01.365966-04:00 vici-d1 systemd[1]: Started Session 5070 of user root.
2014-09-18T08:14:01.366523-04:00 vici-d1 systemd[1]: Starting Session 5069 of user root.
2014-09-18T08:14:01.366829-04:00 vici-d1 systemd[1]: Started Session 5069 of user root.
2014-09-18T08:14:01.367434-04:00 vici-d1 systemd[1]: Starting Session 5071 of user root.
2014-09-18T08:14:01.367707-04:00 vici-d1 systemd[1]: Started Session 5071 of user root.
2014-09-18T08:14:01.368601-04:00 vici-d1 systemd[1]: Starting Session 5073 of user root.
2014-09-18T08:14:01.369016-04:00 vici-d1 systemd[1]: Started Session 5073 of user root.
2014-09-18T08:14:01.371036-04:00 vici-d1 /USR/SBIN/CRON[4855]: (root) CMD (/usr/share/astguiclient/AST_manager_kill_hung_congested.pl)
2014-09-18T08:14:01.371576-04:00 vici-d1 /USR/SBIN/CRON[4854]: (root) CMD (/usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --MP3)
2014-09-18T08:14:01.372156-04:00 vici-d1 /USR/SBIN/CRON[4856]: (root) CMD (/usr/share/astguiclient/AST_conf_update.pl)
2014-09-18T08:14:01.372532-04:00 vici-d1 /USR/SBIN/CRON[4853]: (root) CMD (/usr/share/astguiclient/AST_vm_update.pl)
2014-09-18T08:14:01.483595-04:00 vici-d1 /USR/SBIN/CRON[4851]: pam_unix(crond:session): session closed for user root
2014-09-18T08:14:01.532449-04:00 vici-d1 /USR/SBIN/CRON[4848]: pam_unix(crond:session): session closed for user root
2014-09-18T08:14:06.463084-04:00 vici-d1 /USR/SBIN/CRON[4847]: pam_unix(crond:session): session closed for user root
2014-09-18T08:14:06.474560-04:00 vici-d1 /USR/SBIN/CRON[4850]: pam_unix(crond:session): session closed for user root
2014-09-18T08:14:45.422202-04:00 vici-d1 /USR/SBIN/CRON[4849]: pam_unix(crond:session): session closed for user root
2014-09-18T08:15:01.432304-04:00 vici-d1 /usr/sbin/cron[4946]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:15:01.433317-04:00 vici-d1 /usr/sbin/cron[4949]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:15:01.434136-04:00 vici-d1 /usr/sbin/cron[4950]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:15:01.435660-04:00 vici-d1 /usr/sbin/cron[4945]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:15:01.436027-04:00 vici-d1 /usr/sbin/cron[4944]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:15:01.436245-04:00 vici-d1 /usr/sbin/cron[4948]: pam_unix(crond:session): session opened for user root by (uid=0)
2014-09-18T08:15:01.436453-04:00 vici-d1 /usr/sbin/cron[4947]: pam_unix(crond:session): session opened for user root by (uid=0)

which makes me think it's trying to do the job under user root.... any ideas?
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Audio Archive Issues

Postby mav2287 » Fri Sep 19, 2014 5:43 pm

It sounds like you need to go the server that does the transferring and run. This will print out exactly what the script is doing as it does it so you can find out where your problem is. I would run that and post back what you get.

/usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --debugX
ViciBox5.x86_64-5.0.3.preload from .iso upgraded to 13.1 | VERSION: 2.10-444c BUILD: 150129-0828 | 1.8.32.2-vici | Dual Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel twin quad core 3Ghz Xeon chips | 32gb of RAM
mav2287
 
Posts: 256
Joined: Thu Oct 03, 2013 6:47 pm

Re: Audio Archive Issues

Postby udfxrookie » Tue Sep 23, 2014 7:50 am

Code: Select all
vici-d1:~ # /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --debugX

----- DEBUG -----


----- SUPER DEBUG -----

/.readahead 44424
/bootincluded_archives.filelist 2464
/license.tar.gz 42268
/.readahead 44424


|select recording_id,start_time from recording_log where filename='.readahead' order by recording_id desc LIMIT 1;|
||2014-09-23|.readahead|     ||
Net::FTP>>> Net::FTP(2.77)
Net::FTP>>>   Exporter(5.68)
Net::FTP>>>   Net::Cmd(2.29)
Net::FTP>>>   IO::Socket::INET(1.33)
Net::FTP>>>     IO::Socket(1.36)
Net::FTP>>>       IO::Handle(1.34)
Net::FTP=GLOB(0x1e109b0)<<< 220 Welcome message
Net::FTP=GLOB(0x1e109b0)>>> USER cronarchive
Net::FTP=GLOB(0x1e109b0)<<< 331 Please specify the password.
Net::FTP=GLOB(0x1e109b0)>>> PASS ....
Net::FTP=GLOB(0x1e109b0)<<< 230 Login successful.
Net::FTP=GLOB(0x1e109b0)>>> CWD recordings
Net::FTP=GLOB(0x1e109b0)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1e109b0)>>> MKD 2014-09-23
Net::FTP=GLOB(0x1e109b0)<<< 257 "/home/archive/recordings/2014-09-23" created
Net::FTP=GLOB(0x1e109b0)>>> CWD 2014-09-23
Net::FTP=GLOB(0x1e109b0)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1e109b0)>>> TYPE I
Net::FTP=GLOB(0x1e109b0)<<< 200 Switching to Binary mode.
Net::FTP=GLOB(0x1e109b0)>>> ALLO 44424
Net::FTP=GLOB(0x1e109b0)<<< 202 ALLO command ignored.
Net::FTP=GLOB(0x1e109b0)>>> PASV
Net::FTP=GLOB(0x1e109b0)<<< 227 Entering Passive Mode (10,10,10,180,119,250).
Net::FTP=GLOB(0x1e109b0)>>> STOR .readahead
Net::FTP=GLOB(0x1e109b0)<<< 150 Ok to send data.
Net::FTP=GLOB(0x1e109b0)<<< 226 Transfer complete.
Net::FTP=GLOB(0x1e109b0)>>> QUIT
Net::FTP=GLOB(0x1e109b0)<<< 221 Goodbye.

|UPDATE recording_log set location='http://100.X.X.X.2/recordings/2014-09-23/.readahead' where recording_id='';|
Transfered 1 files
/bootincluded_archives.filelist 2464


|select recording_id,start_time from recording_log where filename='bootincluded_archives.filelist' order by recording_id desc LIMIT 1;|
||2014-09-23|bootincluded_archives.filelist|     ||
Net::FTP=GLOB(0x1ef02a8)<<< 220 Welcome message
Net::FTP=GLOB(0x1ef02a8)>>> USER cronarchive
Net::FTP=GLOB(0x1ef02a8)<<< 331 Please specify the password.
Net::FTP=GLOB(0x1ef02a8)>>> PASS ....
Net::FTP=GLOB(0x1ef02a8)<<< 230 Login successful.
Net::FTP=GLOB(0x1ef02a8)>>> CWD recordings
Net::FTP=GLOB(0x1ef02a8)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1ef02a8)>>> MKD 2014-09-23
Net::FTP=GLOB(0x1ef02a8)<<< 550 Create directory operation failed.
Net::FTP=GLOB(0x1ef02a8)>>> CWD 2014-09-23
Net::FTP=GLOB(0x1ef02a8)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1ef02a8)>>> TYPE I
Net::FTP=GLOB(0x1ef02a8)<<< 200 Switching to Binary mode.
Net::FTP=GLOB(0x1ef02a8)>>> ALLO 2464
Net::FTP=GLOB(0x1ef02a8)<<< 202 ALLO command ignored.
Net::FTP=GLOB(0x1ef02a8)>>> PASV
Net::FTP=GLOB(0x1ef02a8)<<< 227 Entering Passive Mode (10,10,10,180,120,71).
Net::FTP=GLOB(0x1ef02a8)>>> STOR bootincluded_archives.filelist
Net::FTP=GLOB(0x1ef02a8)<<< 150 Ok to send data.
Net::FTP=GLOB(0x1ef02a8)<<< 226 Transfer complete.
Net::FTP=GLOB(0x1ef02a8)>>> QUIT
Net::FTP=GLOB(0x1ef02a8)<<< 221 Goodbye.

|UPDATE recording_log set location='http://100.X.X.X.2/recordings/2014-09-23/bootincluded_archives.filelist' where recording_id='';|
Transfered 2 files
/license.tar.gz 42268


|select recording_id,start_time from recording_log where filename='license.tar.gz' order by recording_id desc LIMIT 1;|
||2014-09-23|license.tar.gz|     ||
Net::FTP=GLOB(0x1ef06f8)<<< 220 Welcome message
Net::FTP=GLOB(0x1ef06f8)>>> USER cronarchive
Net::FTP=GLOB(0x1ef06f8)<<< 331 Please specify the password.
Net::FTP=GLOB(0x1ef06f8)>>> PASS ....
Net::FTP=GLOB(0x1ef06f8)<<< 230 Login successful.
Net::FTP=GLOB(0x1ef06f8)>>> CWD recordings
Net::FTP=GLOB(0x1ef06f8)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1ef06f8)>>> MKD 2014-09-23
Net::FTP=GLOB(0x1ef06f8)<<< 550 Create directory operation failed.
Net::FTP=GLOB(0x1ef06f8)>>> CWD 2014-09-23
Net::FTP=GLOB(0x1ef06f8)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1ef06f8)>>> TYPE I
Net::FTP=GLOB(0x1ef06f8)<<< 200 Switching to Binary mode.
Net::FTP=GLOB(0x1ef06f8)>>> ALLO 42268
Net::FTP=GLOB(0x1ef06f8)<<< 202 ALLO command ignored.
Net::FTP=GLOB(0x1ef06f8)>>> PASV
Net::FTP=GLOB(0x1ef06f8)<<< 227 Entering Passive Mode (10,10,10,180,118,216).
Net::FTP=GLOB(0x1ef06f8)>>> STOR license.tar.gz
Net::FTP=GLOB(0x1ef06f8)<<< 150 Ok to send data.
Net::FTP=GLOB(0x1ef06f8)<<< 226 Transfer complete.
Net::FTP=GLOB(0x1ef06f8)>>> QUIT
Net::FTP=GLOB(0x1ef06f8)<<< 221 Goodbye.

|UPDATE recording_log set location='http://100.X.X.X.2/recordings/2014-09-23/license.tar.gz' where recording_id='';|
Transfered 3 files
DONE... EXITING

vici-d1:~ #


All this leaves me with: http://100.X.X.2/recordings/2014-09-18/ ... 99-all.mp3 which is completely unaccessible.

however it does NOT mover them to the proper server, it simply moves them from MP3 to FTP on the same server... now when I try doing the call on the AIO server, which is where the recordings are supposed to go, it keeps them in MP3, files name stays LAN address:

Code: Select all
vici-db:~ # /usr/share/astguiclient/AST_CRON_audio_3_ftp.pl --debugX

----- DEBUG -----


----- SUPER DEBUG -----

/license.tar.gz 42268
/.readahead 65958
/bootincluded_archives.filelist 2464
/license.tar.gz 42268


|select recording_id,start_time from recording_log where filename='license.tar.gz' order by recording_id desc LIMIT 1;|
||2014-09-23|license.tar.gz|     ||
Net::FTP>>> Net::FTP(2.77)
Net::FTP>>>   Exporter(5.68)
Net::FTP>>>   Net::Cmd(2.29)
Net::FTP>>>   IO::Socket::INET(1.33)
Net::FTP>>>     IO::Socket(1.36)
Net::FTP>>>       IO::Handle(1.34)
Net::FTP=GLOB(0x1cc95e0)<<< 220 Welcome message
Net::FTP=GLOB(0x1cc95e0)>>> USER cronarchive
Net::FTP=GLOB(0x1cc95e0)<<< 331 Please specify the password.
Net::FTP=GLOB(0x1cc95e0)>>> PASS ....
Net::FTP=GLOB(0x1cc95e0)<<< 230 Login successful.
Net::FTP=GLOB(0x1cc95e0)>>> CWD recordings
Net::FTP=GLOB(0x1cc95e0)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1cc95e0)>>> MKD 2014-09-23
Net::FTP=GLOB(0x1cc95e0)<<< 550 Create directory operation failed.
Net::FTP=GLOB(0x1cc95e0)>>> CWD 2014-09-23
Net::FTP=GLOB(0x1cc95e0)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1cc95e0)>>> TYPE I
Net::FTP=GLOB(0x1cc95e0)<<< 200 Switching to Binary mode.
Net::FTP=GLOB(0x1cc95e0)>>> ALLO 42268
Net::FTP=GLOB(0x1cc95e0)<<< 202 ALLO command ignored.
Net::FTP=GLOB(0x1cc95e0)>>> PASV
Net::FTP=GLOB(0x1cc95e0)<<< 227 Entering Passive Mode (10,10,10,180,118,144).
Net::FTP=GLOB(0x1cc95e0)>>> STOR license.tar.gz
Net::FTP=GLOB(0x1cc95e0)<<< 150 Ok to send data.
Net::FTP=GLOB(0x1cc95e0)<<< 226 Transfer complete.
Net::FTP=GLOB(0x1cc95e0)>>> QUIT
Net::FTP=GLOB(0x1cc95e0)<<< 221 Goodbye.

|UPDATE recording_log set location='http://100.X.X.2/recordings/2014-09-23/license.tar.gz' where recording_id='';|
Transfered 1 files
/.readahead 65958


|select recording_id,start_time from recording_log where filename='.readahead' order by recording_id desc LIMIT 1;|
||2014-09-23|.readahead|     ||
Net::FTP=GLOB(0x1d9a338)<<< 220 Welcome message
Net::FTP=GLOB(0x1d9a338)>>> USER cronarchive
Net::FTP=GLOB(0x1d9a338)<<< 331 Please specify the password.
Net::FTP=GLOB(0x1d9a338)>>> PASS ....
Net::FTP=GLOB(0x1d9a338)<<< 230 Login successful.
Net::FTP=GLOB(0x1d9a338)>>> CWD recordings
Net::FTP=GLOB(0x1d9a338)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1d9a338)>>> MKD 2014-09-23
Net::FTP=GLOB(0x1d9a338)<<< 550 Create directory operation failed.
Net::FTP=GLOB(0x1d9a338)>>> CWD 2014-09-23
Net::FTP=GLOB(0x1d9a338)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1d9a338)>>> TYPE I
Net::FTP=GLOB(0x1d9a338)<<< 200 Switching to Binary mode.
Net::FTP=GLOB(0x1d9a338)>>> ALLO 65958
Net::FTP=GLOB(0x1d9a338)<<< 202 ALLO command ignored.
Net::FTP=GLOB(0x1d9a338)>>> PASV
Net::FTP=GLOB(0x1d9a338)<<< 227 Entering Passive Mode (10,10,10,180,118,152).
Net::FTP=GLOB(0x1d9a338)>>> STOR .readahead
Net::FTP=GLOB(0x1d9a338)<<< 150 Ok to send data.
Net::FTP=GLOB(0x1d9a338)<<< 226 Transfer complete.
Net::FTP=GLOB(0x1d9a338)>>> QUIT
Net::FTP=GLOB(0x1d9a338)<<< 221 Goodbye.

|UPDATE recording_log set location='http://100.X.X.2/recordings/2014-09-23/.readahead' where recording_id='';|
Transfered 2 files
/bootincluded_archives.filelist 2464


|select recording_id,start_time from recording_log where filename='bootincluded_archives.filelist' order by recording_id desc LIMIT 1;|
||2014-09-23|bootincluded_archives.filelist|     ||
Net::FTP=GLOB(0x1d9a428)<<< 220 Welcome message
Net::FTP=GLOB(0x1d9a428)>>> USER cronarchive
Net::FTP=GLOB(0x1d9a428)<<< 331 Please specify the password.
Net::FTP=GLOB(0x1d9a428)>>> PASS ....
Net::FTP=GLOB(0x1d9a428)<<< 230 Login successful.
Net::FTP=GLOB(0x1d9a428)>>> CWD recordings
Net::FTP=GLOB(0x1d9a428)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1d9a428)>>> MKD 2014-09-23
Net::FTP=GLOB(0x1d9a428)<<< 550 Create directory operation failed.
Net::FTP=GLOB(0x1d9a428)>>> CWD 2014-09-23
Net::FTP=GLOB(0x1d9a428)<<< 250 Directory successfully changed.
Net::FTP=GLOB(0x1d9a428)>>> TYPE I
Net::FTP=GLOB(0x1d9a428)<<< 200 Switching to Binary mode.
Net::FTP=GLOB(0x1d9a428)>>> ALLO 2464
Net::FTP=GLOB(0x1d9a428)<<< 202 ALLO command ignored.
Net::FTP=GLOB(0x1d9a428)>>> PASV
Net::FTP=GLOB(0x1d9a428)<<< 227 Entering Passive Mode (10,10,10,180,118,94).
Net::FTP=GLOB(0x1d9a428)>>> STOR bootincluded_archives.filelist
Net::FTP=GLOB(0x1d9a428)<<< 150 Ok to send data.
Net::FTP=GLOB(0x1d9a428)<<< 226 Transfer complete.
Net::FTP=GLOB(0x1d9a428)>>> QUIT
Net::FTP=GLOB(0x1d9a428)<<< 221 Goodbye.

|UPDATE recording_log set location='http://100.X.X.2/recordings/2014-09-23/bootincluded_archives.filelist' where recording_id='';|
Transfered 3 files
DONE... EXITING


All that leaves me with: http://10.10.10.180/RECORDINGS/MP3/7275 ... 99-all.mp3 completely unaccessible.

I can't even load: http://100.x.x.2/recordings/
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Audio Archive Issues

Postby geoff3dmg » Tue Sep 23, 2014 8:54 am

Have you tried changing the directory permissions? See this thread for more info.

viewtopic.php?f=8&t=32539
Vicibox 5.03 from .iso | VERSION: 2.10-451a BUILD: 140902-0816 | Asterisk 1.8.28.2-vici | Multi-Server | Amfeltec H/W Timing Cards | No Extra Software After Installation | Dell PowerEdge 1850 | Pentium 4 'Prescott' Xenon Quad @ 3.40GHz
geoff3dmg
 
Posts: 403
Joined: Tue Jan 29, 2013 4:35 am
Location: Lancashire, UK

Re: Audio Archive Issues

Postby udfxrookie » Tue Sep 23, 2014 10:18 am

geoff,
Thanks for helping... I edited both servers with that and made a test call on both servers to see the results... instead of forcing the scripts I'm waiting a few minutes to allow them to run on their own:
Code: Select all
RECORDINGS FOR THIS LEAD:
#   LEAD   DATE/TIME   SECONDS     RECID   FILENAME   LOCATION   TSR
1   1   2014-09-23 11:12:55   24   14     7275551212_20140923-111254_3999   http://10.10.10.181/RECORDI...   3999
2   1   2014-09-23 11:10:02   14   13     7275551212_20140923-111001_3999   http://10.10.10.180/RECORDI...   3999


waiting to see the results... I honestly pray I'm part of that 5% now lol
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Audio Archive Issues

Postby udfxrookie » Tue Sep 23, 2014 11:07 am

Results are the exact same.... recording on dialer moves to FTP from MP3, changes the url address, but nada:

Code: Select all
RECORDINGS FOR THIS LEAD:
#   LEAD   DATE/TIME   SECONDS     RECID   FILENAME   LOCATION   TSR
1   1   2014-09-23 11:12:55   24   14     7275551212_20140923-111254_3999   http://100.X.X.2/recordin...   3999
2   1   2014-09-23 11:10:02   14   13     7275551212_20140923-111001_3999   http://10.10.10.180/RECORDI...   3999


As for the AIO, the file is staying in MP3
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida

Re: Audio Archive Issues

Postby mav2287 » Tue Sep 23, 2014 8:11 pm

Is you astguiclient.conf identical on both servers? Also did you go into admin->servers area and make sure your ips show correctly there? Also the unaccessable part is because your path was

VARHTTP_path => http://100.xxx.xxx.1/recordings

It should be

VARHTTP_path => http://10.10.10.180/recordings

It looks like you have some mixing of internal and external ip's. I would pick one and stick to it. Mixing them just makes things confusing.
ViciBox5.x86_64-5.0.3.preload from .iso upgraded to 13.1 | VERSION: 2.10-444c BUILD: 150129-0828 | 1.8.32.2-vici | Dual Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel twin quad core 3Ghz Xeon chips | 32gb of RAM
mav2287
 
Posts: 256
Joined: Thu Oct 03, 2013 6:47 pm

Re: Audio Archive Issues

Postby udfxrookie » Thu Sep 25, 2014 9:06 am

THAT could've been it the whole time... I just went to an offsite ftp for my web domain right now which is working perfect and easily.
As for this... I thought I needed the VARHTTP to be the site it needed to change to
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.10-452n build: 14111-0554 | Asterisk 1.8.31.0-vici | 1 AIO Setup Helping local companies startup www.AKAMarketing.net
udfxrookie
 
Posts: 178
Joined: Thu Dec 10, 2009 9:42 am
Location: Florida


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 53 guests