[asterisk-users] Saving the monitor file on new file always using Monitor(wav, Record1, m)

Bryant Zimmerman BryantZ at zktech.com
Sat Jan 1 18:46:49 UTC 2011


Use a combination of ${EPOCH} with a format string and the unique call / 
channel id. 

Example:
 
exten => s,1,Set(MY_TIMEVAR=:${STRFTIME(${EPOCH},,%d%mNaVH:NaVS)}) 
exten => s,n,Monitor(wav,${MY_TIMEVAR}~${CHANNEL},m)

----------------------------------------
 From: "bilal ghayyad" <bilmar_gh at yahoo.com>
Sent: Saturday, January 01, 2011 1:16 PM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] Saving the monitor file on new file always using 
Monitor(wav, Record1, m)

Dear List;

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.

Monitor(wav,Record1,m)

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).

Any advise?

Regards
Bilal

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

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


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110101/83509102/attachment.htm>


More information about the asterisk-users mailing list