by eskali » Fri Oct 19, 2007 6:27 am
Yes, you can store the fullpath ... you should look into the manager_send.php like matt said.
Matt, the operators of the campaign has to make sells and if that sells goes fine, then, the wav file should be named like "Agent_110-Date_20071019-sold.wav" ... and if the sell wasn't ok, then "Agent_110-Date_20071019-not_sold.wav".
Everything goes fine until the sold/not_sold prefix at the end of the file, i already add a lil block of code where the vicidial INSERT that record into the recording_log table in order to get if the sell was ok or not if yes, then i add $filename .= '-sold'; ... the filename has been stored fine into the database, my problem is that the wav file its created without the last prefix and it use -in.wav and -out.wav ... and i can't figure it out why!
Thanks again everybody!!
ps: about the db wav storing, ye ... you got a point i will store fullpath, no binary files.