1) Welcome to the Party!
2) As you are obviously new here, I have some suggestions to help us all help you:
When you post, please post your entire configuration including (but not limited to) your installation method (7.X.X?) and vicidial version with build (VERSION: 2.X-XXXx ... BUILD: #####-####).
This IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)
You should also post: Asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box. If your installation method is "manual/from scratch" you must post your operating system with version (and the .iso version from which you installed your original operating system) plus a link to the installation instructions you used. If your installation is "Hosted" list the site name of the host.
If this is a "Cloud" or "Virtual" server, please note the technology involved along with the version of that techology (ie: VMware Server Version 2.0.2). If it is not, merely stating the Motherboard model # and CPU would be helpful.
Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X-XXX Build XXXXXX-XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation | Intel DG35EC | Core2Quad Q6600
3) This is in no way a "general discussion", it's a support request. Moving to the Support Board accordingly.
4) First please explain why you don't just use the "Campaign Rec Filename" on the Modify Campaign screen. (Not being a smartass here, or picking on you: This information will be useful for all those who try to assist you in this endeavor PLUS I'd hate to not ask and have you find out next month you could have just used this field to make your changes! lol).
5) AFTER the recording is completed, mixed and compressed, you could write a script that modifies the filename and also updates the filename in the Vicidial recordings table. In theory that would keep Vicidial linked to the file with the new name. Don't forget that there is also an FTP script designed to move the final recordings to an archive server (thus removing them from the HD of the dialers to "bulk long-term storage"). That FTP process modifies the URL at which the files are retrieved as well, so test the FTP transfer after modifying the filenames as a confirmation that nothing is broken. To verify: make sure the Links in the User and Lead records still acquire your newly named file even after FTP transfer.
6) You COULD even modify the FTP transfer script to your nefarious purpose since it makes similar changes.
Happy Hunting!