<br><br><br><br><br><div><span class="gmail_quote">On 7/16/07, <b class="gmail_sendername">Ronald Wiplinger</b> <<a href="mailto:ronald@elmit.com">ronald@elmit.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1. Instead of using *1 (automon) I need to record each phone call at a<br>certain * box.</blockquote><div><br><br><br>
exten => _1NXXNXXXXXX,1,MixMonitor(/var/spool/asterisk/monitor/${CALLERIDNUM}-${EPOCH}-${EXTEN}.wav)<br>
exten => _1NXXNXXXXXX,2,Dial(Zap/R1/${EXTEN},90 <br>exten => _1NXXNXXXXXX,3,Hangup<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
2. While already talking about this. I want to autodelete with cron at 2<br>am in the morning all recordings which are older than 50 hours! How can<br>I do that?</blockquote><div><br><br>You can write a shell script to delete files in /var/spool/asterisk/monitor that are older than 50 hours.
<br></div><br></div><br>