Displaying 2 results from an estimated 2 matches for "recdir".
Did you mean:
secdir
2014 Sep 15
2
Record ANSWERED call
Hi,
I am using this dialplan to record incoming calls:
.....
exten => 3331122,n,Set(MONITOR_FILE=${RECDIR}/${UNIQUEID})
exten => 3331122,n,MixMonitor(${MONITOR_FILE}.wav,b)
exten => 3331122,n,GoSub(stdexten(${Ext1007}))
exten => 3331122,n,Voicemail(1007 at default,)
exten => 3331122,n,Hangup()
The problem is it records all incoming calls include those with the
disposition of "NO ANSW...
2015 Jul 06
0
Asterisk 13.4.0 - mixmonitor only records one side's perspective
...To setup Recording
;${ARG1} Description To Save
;${ARG2} Dialed Number
exten=>s,1,NoOp(Start of MixMonitor recording)
exten=>s,n,Set(IAXVAR(accountcode)=${CDR(accountcode)})
exten=>s,n,GoToIf($["${MIXMONITOR_FILENAME}" = ""]?startrec:finrec)
exten=>s,n(startrec),Set(recDir=${STRFTIME(${EPOCH},,%y%m/%d)})
exten=>s,n,Set(recFile=${recDir}/${STRFTIME(${EPOCH},,%y%m%d%H%M%S)}D${ARG1}
N${ARG2}ID${UNIQUEID}.gsm)
exten=>s,n(setacc),set(recFile=${recDir}/${CDR(linkedid)}.gsm)
exten=>s,n(makedir),System(/bin/mkdir -p
/var/spool/asterisk/monitor/${recDir})
exten=>s...