We i have settup it like this it giveme caller id agent id and date-time on
gsm file but i want them to be in folder on every day basis datewise.


exten =>
_1NXXNXXXXXX,2,Set(CALLFILENAME=${ACCOUNTCODE}-${EXTEN}-${TIMESTAMP})
exten => _1NXXNXXXXXX,3,Monitor(gsm,/rec/asterisk/apr07/${CALLFILENAME},mb)


Any Idea ?

Faisal





------------------------------

Message: 16
Date: Tue, 10 Apr 2007 03:08:57 +0500
From: "Faisal Ashraf" <[EMAIL PROTECTED]>
Subject: [asterisk-users] Date Wise Recordings
To: asterisk-users@lists.digium.com
Message-ID:
       <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

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-0001.htm



------------------------------

Message: 19
Date: Mon, 9 Apr 2007 16:01:46 -0700 (PDT)
From: Steve Edwards <[EMAIL PROTECTED]>
Subject: Re: [asterisk-users] Date Wise Recordings
To: Asterisk Users Mailing List - Non-Commercial Discussion
       <asterisk-users@lists.digium.com>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

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      [EMAIL PROTECTED]      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

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

Reply via email to