Page 1 of 1

Save recordings to different folders depending on campaign

PostPosted: Tue Sep 20, 2022 9:52 am
by SPAMSAM
I have a request from a client that each campaign's recordings be saved to a different directory depending on the camp.

Is that possible with a vanilla install of vicidial?


VERSION: 2.14-816a
BUILD: 210624-1243

Re: Save recordings to different folders depending on campai

PostPosted: Tue Oct 11, 2022 4:20 pm
by williamconley
Consider:

AST_recordings_export.pl

Which can gather recordings from one or more campaign(s) and transfer them via FTP (back to the same server, if you like) into whatever folder you prefer.

Alternately you can use a cp or mv command on the CLI after ensuring that the Campaign's name is in the recording filename (and unique enough to avoid false positives). Neither requires changes to Vicidial Code, and as such should survive update. Both can be executed from crontab in any interval without much hit on the CPU or HD.