Hi,
On 01/01/2011 05:43 PM, bilal ghayyad wrote:
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 t
On Sat, 1 Jan 2011, bilal ghayyad wrote:
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.
Read up on the STRFTIME function.
--
Thanks in advance,
---
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"
Sent: Saturda
Try using ${UNIQUEID} to get the unique id of the current call. That or
something like CDR(uniqueid). Forget which off the top of my head.
Nic.
-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of bilal ghayyad
Sent