On 7/16/07, Ronald Wiplinger <[EMAIL PROTECTED]> 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.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to