Page 1 of 1
AST_CRON_mix_recordings_MP3.pl

Posted:
Fri Jul 28, 2006 7:05 pm
by enjay
Just an FYI I have placed the updated version of AST_CRON_mix_recordings_MP3.pl on the tracker, take a peak if you'd like!
-enjay

Posted:
Fri Jul 28, 2006 11:06 pm
by mflorell
Thanks again, I'll try to take a look at it next week and roll it into SVN.

Posted:
Sat Jul 29, 2006 12:53 am
by enjay
Ohh just an FYI I also posted a php script I use which has sorting capabilities for recordings, that way you can look at recordings based on users, campaigns, date, etc.
Date/Time is automatically pre-sorted so all references are in chronological order.
-enjay

Posted:
Fri Oct 20, 2006 1:40 pm
by gardo
hi enjay! just found your php script and your AST_CRON_mix_recordings_MP3.pl lately. i'd say the script is very handy. only thing i'm having problems is with the php script. i get this error: Fatal error: Cannot instantiate non-existent class: directoryiterator in /mnt/disk/recordings/FTP/index.php on line 12. what am i missing?

Posted:
Fri Oct 20, 2006 4:09 pm
by enjay
You will see that I posted the script under tracker its not a file but within my description. Make sure you create that file as its used for viewing.
-enjay

Posted:
Mon Oct 23, 2006 1:46 pm
by gardo
i'm not really a php person, but i copied and pasted what you posted as index.php and saved it as index.php on the root directory of my ftp/web server. The error: "Fatal error: Cannot instantiate non-existent class: directoryiterator in /mnt/disk/recordings/FTP/index.php on line 12" comes out when it is being viewed as a web page.
This is the first 12 lines of index.php
<?php
#/**
# * Sorts call recordings by criteria, created 20060725
# * Created by: Magma Networks LLC <atarsha@magmanetworks.com>
# */
$files = array();
$sort = isset($_REQUEST['sort'])? $_REQUEST['sort'] : 'filename';
$path = isset($_REQUEST['path'])? $_REQUEST['path'] : '.';
$path = collapse_path($path);
$dir = new DirectoryIterator($path);