updating recording_log and using ftp

All installation and configuration problems and questions

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

updating recording_log and using ftp

Postby Op3r » Fri Aug 29, 2008 2:42 pm

Hello,

I am have a bit of homework. Here's the problem, a hard drive crashed and I managed to pull out the recordings. Now I am using an ftp server to ftp my recordings to a recording server. So I am now thinking how to update the recording_log to reflect the path of the recordings. Is it possible? as I am also going to upload all the recordings from 1 more asterisk server to the recording/archive server.
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1424
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby mflorell » Fri Aug 29, 2008 7:53 pm

I would probably write a perl script to traverse the list of recordings and use the filename to find their matching records in the database and update their paths.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Op3r » Sat Aug 30, 2008 8:29 pm

how about just putting the recordings back to the monitorDONE folder and use the ftp script to upload the recordings to the archive server? is this an optimal way to do it?
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1424
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby mflorell » Sun Aug 31, 2008 2:26 am

That might work, if you try it let us know how it goes.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Op3r » Sun Aug 31, 2008 5:14 am

ok then wish me luck!!!!!!
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1424
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby Op3r » Sun Aug 31, 2008 5:21 am

one more

if I use the ftp script will it also send the orig files to the archive server? I dont really want to lose the files on the ORIG folder because we might encounter an uncomplete recordings :(
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1424
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby mflorell » Sun Aug 31, 2008 7:21 am

None of the ORIG recordings should be overwritten, and none of the scripts delete files so I don't see a problem with that.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby Op3r » Sun Aug 31, 2008 7:40 am

oh ok thanks :D

one more, will it be possible to upload the files in the ORIG folder too?
Get paid for US outbound Toll Free calls. PM me.
Op3r
 
Posts: 1424
Joined: Wed Jun 07, 2006 7:53 pm
Location: Manila

Postby mflorell » Sun Aug 31, 2008 5:49 pm

There are no included scripts that will upload the ORIG files automatically, you would have to do that manually or write a script that would do it for you.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 277 guests