[asterisk-users] Call recording filename

Vicky vicky.r at gmail.com
Tue Nov 28 12:17:28 MST 2006


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 very
hard to locate a call recording based on call time and extension number who
dialled. I need to put something like outgoing number dialled within call
file name instead of uniqueid .. After watching in console i  opened up
/var/lib/asterisk/agi-bin/recordingcheck and saw that it is setting
callfilename variable with extension number,time,unique id , etc. so i
edited and instead of $uniqueid i put $DIALEDPEERNUMBER ( saw in
http://www.voip-info.org/wiki/index.php?page=Asterisk+variables ) but its
just not giving dialed number and hence callfilename  doesnt contain
outgoing number . Any suggestions how can i get outgoing call number in
recording file ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061128/549c51ac/attachment.htm


More information about the asterisk-users mailing list