Thank you! I updated the tutorial as well. l. 2009/5/25 Atis Lezdins <a...@iq-labs.net>
> On Mon, May 25, 2009 at 7:42 PM, Lenz Emilitri <lenz.lo...@gmail.com> > wrote: > > Hi everyone, > > after doing the same thing multiple times and struggling to remember how > it > > was done, I have prepared a small tutorial that explains how to save > > monitored files in different folders per day. This is quite useful > > becausethe resultingfile system is way more manageable than having maybe > > 100,000 files all saved in the same folder. > > You can find the tutorial here: > > > > http://astrecipes.net/index.php?n=387 > > > > As always, comments and suggestions are welcome. > > l. > > PS. I am also working on some scripts to "normalize" existing recordings > > all-in-one-directory... if anybody is interested, please contact me. > > Actually You don't have to create folders in advance, as Asterisk will > automatically create them when needed. Just make sure that Asterisk > process is owner of parent directory. > > > Set(__call_day=${STRFTIME(|${TIMEZONE}|%Y/%m/%d)}); > Set(MONITOR_FILENAME=${MONITOR_DIR}/${call_day}/call-${UNIQUEID}); > Monitor(ulaw,${MONITOR_FILENAME},b); > > Regards, > Atis > > -- > Atis Lezdins, > VoIP Project Manager / Developer, > IQ Labs Inc, > a...@iq-labs.net > Skype: atis.lezdins > Cell Phone: +371 28806004 > Cell Phone: +1 800 7300689 > Work phone: +1 800 7502835 > > _______________________________________________ > -- 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 > -- Loway - home of QueueMetrics - http://queuemetrics.com
_______________________________________________ -- 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