I have figured out a way to include dialed number in recorded
voicefile in freepbx . You have to edit
/var/lib/asterisk/agi-bin/recordingcheck
add this lines after $agi=new AGI()
$temp= $agi-get_variable(DIAL_NUMBER);
$agi-verbose(Number to be dialled is -{$temp[data]});
After this you can use
I am using asterisk along with freepbx . When recording is enabled for a
extension the call record file made in /var/spool/asterisk/monitor contains
information like OUT(extension number)-(timestamp)-(uniqueid).wav . This can
be a big mess if there are more than 1000-2000 files in that folder and