In vicidial.php you'll find a Javascript function called 'conf_send_recording'. This function takes care of starting and stopping the recording (automatic or user requested). (In my vicidial.php it starts at line 3211 but since I heavily customized my installation this might not be true for yours.)
This is the file name creation part of this function:
- Code: Select all
var REGrecCAMPAIGN = new RegExp("CAMPAIGN","g");
var REGrecCUSTPHONE = new RegExp("CUSTPHONE","g");
var REGrecFULLDATE = new RegExp("FULLDATE","g");
var REGrecTINYDATE = new RegExp("TINYDATE","g");
var REGrecEPOCH = new RegExp("EPOCH","g");
var REGrecAGENT = new RegExp("AGENT","g");
filename = campaign_rec_filename;
filename = filename.replace(REGrecCAMPAIGN, campaign);
filename = filename.replace(REGrecCUSTPHONE, lead_dial_number);
filename = filename.replace(REGrecFULLDATE, filedate);
filename = filename.replace(REGrecTINYDATE, tinydate);
filename = filename.replace(REGrecEPOCH, epoch_sec);
filename = filename.replace(REGrecAGENT, user);
As you can see it's fairly easy to add a few tags (given that you know a bit of Javascript and understand how HTML works.)
Feel free to ask more questions - I'll help if I can.