Hi, I like my recordings to go to date wise folder i mean to say that for example today is 20070409 so all recordings should go directly to that folder instead of one folder for whole month. and then next day's recordings should go to next date folder. so how can i do that my current monitor context is like... exten => _1NXXNXXXXXX,3,Monitor(gsm,/rec/asterisk/apr07/${CALLFILENAME},mb) Faisal -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070409/d14e8951/attachment.htm
On Tue, 10 Apr 2007, Faisal Ashraf wrote:> I like my recordings to go to date wise folder i mean to say that for > example today is 20070409 so all recordings should go directly to that > folder instead of one folder for whole month. and then next day's recordings > should go to next date folder.Using the STRFTIME function to build your file name should get you close. Reading the documentation should fill in the blanks :) Thanks in advance, ------------------------------------------------------------------------ Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000