>>>>> PREVIOUS DEVELOPMENT:
Another developer created a "click to record" Perl script for my Trixbox 2.6.1. The script works great in terms of starting/stopping recording and saving the file number with the account number. The problem is that if more than one person starts recording, the script does not know which channel to stop recording on and closes the wrong one.
I envision a mysql database table to track the channels in use by the script so that it operates properly. I don't care about the history of who initiated the recording; I just want to reliably control the start and stop of call recording as specified below.
>>>>> HERE IS THE ORIGINAL REQUEST:
** "Click to Record"
I'd like for our representatives to have the ability to click a button on the page to start and stop recording a call. The file name and date will be the the name on the recorded file. The file should save on the Trixbox server where we will FTP and move to an alternate location on a nightly basis.
Here is the vision:
- The Windows XP PC and extension share the same name (Example: The PC name is 1001; The phone on the desk is extension 1001).
- A customer calls in and wants to make a payment. The representative could push a button in our custom app to start recording. The Trixbox will know the name of the extension (1001) because the "start recording" button on the screen will pass the value. It should also pass the account name so we can match it up in the future, as indicated previously.
- When the representative is finished taking the payment, the representative can press a "stop recording" button. The recording will be saved in the typical directory on the Trixbox.
- The filename of the recorded file must be in the format of "Account number" + "Date-Time" (Ex: 132323 [url removed, login to view])
NOTE: There may be several people using the Trixbox; The solution should allow for multiple simultanious recordings at the same time.