Page 1 of 1

Automaticall transfer 'SALE' dispositions to seperate folder

PostPosted: Mon Nov 19, 2007 11:59 am
by nobesnickr
We would like to keep all of our "SALES" for recordings purposes but dont have any real need for the rest of our recordings.

Does anyone know of a way to Vicidial signal to Asterisk and the server when a sale is made and automatically copy or move that recording file to a separate folder?

Any help or examples would be GREATLY appreciated. Thank you!

PostPosted: Mon Nov 19, 2007 12:58 pm
by ramindia
Hi

you can write own bash script for the same


after they move to DONE Folder, check the SALE pattern
and move them to other folder

ram

PostPosted: Mon Nov 19, 2007 1:15 pm
by nobesnickr
I have written bash scripts in the past but I am a little new to this whole system, would you by any chance have an example?

Thank you very much again.

PostPosted: Mon Nov 19, 2007 9:01 pm
by mflorell
There is a similar example in SVN codebase:
bin/AST_CRON_GSM_SALE_recordings.pl