<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Use a combination of ${EPOCH} with a format string and the unique call / channel id. <br />
<br />
<br />
Example:<br />
<br />
exten => s,1,Set(<span style="font-family: monospace;">MY_TIMEVAR=</span>:${STRFTIME(${EPOCH},,%d%m<span class="dynavar" id="dyn_Y-_display" style="display: inline;">NaV</span>H:<span class="dynavar" id="dyn_M:_display" style="display: inline;">NaV</span>S)}) <br />
exten => s,n,Monitor(wav,${MY_TIMEVAR}~${CHANNEL},m)<br />
<br />
<div id="divSignature"></div>
<br />
<br />
<span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><hr width="100%" size="2" align="center" />
<b>From</b>: "bilal ghayyad" <bilmar_gh@yahoo.com><br />
<b>Sent</b>: Saturday, January 01, 2011 1:16 PM<br />
<b>To</b>: asterisk-users@lists.digium.com<br />
<b>Subject</b>: [asterisk-users] Saving the monitor file on new file always using Monitor(wav, Record1, m)</span><br />
<br />
Dear List;<br />
<br />
For each call (in specific case), I need to do a record and save in a spearated file, so I am thinking the best thing is to save based on the time.<br />
<br />
Monitor(wav,Record1,m)<br />
<br />
So, how can I make the file name to be based on the current time (which is changed always, or based on the some unique paramter (related to the call it self).<br />
<br />
Any advise?<br />
<br />
Regards<br />
Bilal<br />
<br />
<br />
<br />
<br />
--<br />
_____________________________________________________________________<br />
-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br />
New to Asterisk? Join us for a live introductory webinar every Thurs:<br />
http://www.asterisk.org/hello<br />
<br />
asterisk-users mailing list<br />
To UNSUBSCRIBE or update options visit:<br />
http://lists.digium.com/mailman/listinfo/asterisk-users<br />
<br /></span>