[asterisk-users] I want to record each phone call

Andrew Joakimsen joakimsen at gmail.com
Mon Jul 16 11:40:33 CDT 2007


On 7/16/07, Ronald Wiplinger <ronald at elmit.com> wrote:
>
> 1. Instead of using *1 (automon) I need to record each phone call at a
> certain * box.




exten =>
_1NXXNXXXXXX,1,MixMonitor(/var/spool/asterisk/monitor/${CALLERIDNUM}-${EPOCH}-${EXTEN}.wav)
exten => _1NXXNXXXXXX,2,Dial(Zap/R1/${EXTEN},90
exten => _1NXXNXXXXXX,3,Hangup

2. While already talking about this. I want to autodelete with cron at 2
> am in the morning all recordings which are older than 50 hours! How can
> I do that?



You can write a shell script to delete files in /var/spool/asterisk/monitor
that are older than 50 hours.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070716/c6e98f04/attachment.htm 


More information about the asterisk-users mailing list