Search , and zip and download.

Any and all non-support discussions

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

Search , and zip and download.

Postby gmcust3 » Mon Mar 01, 2010 1:10 pm

Any script around ? to

1) Search for Recording with some filter parameters.
2) Get a link to download the zip file , containing all those files , matching the criteria.
GoAutoDial CE
VERSION: 2.4-309a
BUILD: 110430-1642
No other software installed on the box.
I've read the manager manual.
gmcust3
 
Posts: 1148
Joined: Sat Oct 24, 2009 1:15 pm

Postby williamconley » Mon Mar 01, 2010 1:27 pm

probably fairly simple to modify the admin backup script to do what you want
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby aouyar » Tue Mar 02, 2010 10:02 am

I had worked in the implementation of the functionality you are describing in another project. The ARI application was used for browsing through recordings and the functionality was implemented as an add-on to this application. I think exactly the same logic can be implemented for Vicidial.

The ARI application was used to enter the search criteria like origin, destination. start / end date, etc. and the search results were displayed on a table. Then the user had the option to download a report in ZIP or ISO formats.

The process that generated the ZIP or ISO file was a batch process; the user would be given a link and after 30 seconds the user could download the ZIP or ISO file clicking on the link. The batch process would simply generate a temporary folder and copy in the recordings that comply with the search criteria and generate a nice HTML file with a table that contained one line of information for each recording and a relative link to the recording file. Finally the batch process generated a ZIP or ISO file from the folder.
aouyar
 
Posts: 124
Joined: Fri Jan 30, 2009 12:49 pm

Postby mflorell » Tue Mar 02, 2010 10:07 am

There is a CLI program that can do this on a batch process:
AST_VDsales_export.pl

It has many options, including zipping audio files together and FTPing them. We have used this with several clients.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Tue Mar 02, 2010 12:15 pm

Now THAT is cool.

And it will even email the results!
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby mflorell » Tue Mar 02, 2010 12:25 pm

It will email a results flat file, but it will not email batch recordings since many email servers choke above 4MB attachments.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Tue Mar 02, 2010 12:30 pm

I liked that guys idea where it is put in a temp folder with an id link that expires in 30 minutes for those large files.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Postby mflorell » Tue Mar 02, 2010 12:40 pm

We have done that for clients as well, created a temp link to a recording file that was searched for then the file was deleted after 6 hours. It was an ugly hack actually because of the client's network setup, never actually created any distribution-worthy code.
mflorell
Site Admin
 
Posts: 18339
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby williamconley » Tue Mar 02, 2010 1:05 pm

I've bumped into this a lot on "third party" servers, but that always makes me nervous if you don't encrypt (and even if you do, really).

So a solution allowing this is something I may have to look into for a couple of our clients if they begin using that Cool Script.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20019
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 198 guests