Automaticall transfer 'SALE' dispositions to seperate folder

All installation and configuration problems and questions

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

Automaticall transfer 'SALE' dispositions to seperate folder

Postby nobesnickr » Mon Nov 19, 2007 11:59 am

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!
nobesnickr
 
Posts: 56
Joined: Thu Nov 01, 2007 6:44 pm

Postby ramindia » Mon Nov 19, 2007 12:58 pm

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
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby nobesnickr » Mon Nov 19, 2007 1:15 pm

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.
nobesnickr
 
Posts: 56
Joined: Thu Nov 01, 2007 6:44 pm

Postby mflorell » Mon Nov 19, 2007 9:01 pm

There is a similar example in SVN codebase:
bin/AST_CRON_GSM_SALE_recordings.pl
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: Bing [Bot] and 266 guests