search for: monitordir

Displaying 9 results from an estimated 9 matches for "monitordir".

2004 Jan 11
2
macro error "exited non-zero"
...? I have the lattes ver of sox 12.17.4. Also if I just run this line from the command line I don't get an error. [root@redhat monitor]# sox in.wav in-rev.wav reverse [root@redhat monitor]# [macro-record-cleanup] exten => s,1,GotoIf($[${CALLFILENAME} = ${FOO}]?11:2) exten => s,2,SetVar(MONITORDIR=/var/spool/asterisk/monitor) exten => s,3,System(/usr/local/bin/sox ${MONITORDIR}/${CALLFILENAME}-in.wav ${MONITORDIR}/${CALLFILENAME}-in-rev.wav reverse) exten => s,4,System(/usr/local/bin/sox ${MONITORDIR}/${CALLFILENAME}-out.wav ${MONITORDIR}/${CALLFILENAME}-out-rev.wav reverse) exten =&...
2004 Jan 20
1
help - recording both sides of a conversati on
...SSUME_KERNEL=2.4.1 asterisk -vvvvgc [macro-record-on] exten => s,1,SetVar(CALLFILENAME=${TIMESTAMP}-${ARG2}-${ARG1}) exten => s,2,Monitor(wav,${CALLFILENAME}) ;exten => s,3,ResetCDR(w) [macro-record-cleanup] exten => s,1,GotoIf($[${CALLFILENAME} = ${FOO}]?11:2) exten => s,2,SetVar(MONITORDIR=/var/spool/asterisk/monitor) exten => s,3,System(sox ${MONITORDIR}/${CALLFILENAME}-in.wav ${MONITORDIR}/${CALLFILENAME}-in-rev.wav reverse) exten => s,4,System(sox ${MONITORDIR}/${CALLFILENAME}-out.wav ${MONITORDIR}/${CALLFILENAME}-out-rev.wav reverse) exten => s,5,System(/bin/rm ${MONIT...
2004 Jun 25
3
Using Soxmix on extensions.conf
Hi, i want to use soxmix to record some calls in my PBX. If i use soxmix on my linux shell it works so i can mixed two calls into one consolidated call. I want to do the process automatically since extensions.conf but it doesnt work. My extensions.conf looks like this: exten => 407,1,SetVar(MONITORDIR=/var/spool/asterisk/monitor) exten => 407,2,Monitor(wav,${TIMESTAMP}.${CALLERIDNUM}.wav) exten => 407,3,Dial(SIP/407|20|t) exten => 407,4,System(soxmix ${MONITORDIR}/${TIMESTAMP}.${CALLERIDNUM}-in.wav ${MONITORDIR}/${TIMESTAMP}.${CALLERIDNUM}-out.wav ${MONITORDIR}/${CALLERIDNUM}.wav) exte...
2003 Aug 25
6
Syncronize Monitored Calls
...exten => h,1,Macro(hangup) [macro-dial] exten => s,1,AGI(set-timestamp.agi) exten => s,2,SetVar(CALLFILENAME=${timestamp}-${CALLERIDNUM}-${MACRO_EXTEN}) exten => s,3,Monitor(wav,${CALLFILENAME}) exten => s,4,Dial(${ARG1},${ARG2},${ARG3}) [macro-hangup] exten => s,1,SetVar(MONITORDIR=/var/spool/asterisk/monitor) exten => s,2,GotoIf($[${CALLFILENAME} = ${FOO}]?6:3) exten => s,3,System(/usr/local/bin/mix_monitor_files.pl ${MONITORDIR} ${CALLFILENAME}-in.wav ${CALLFILENAME}-out.wav ${CALLFILENAME}.wav) exten => s,6,NoOp Here is mix_monitor_files.pl. sox and wmix must...
2003 Aug 17
3
Monitor application temporary hack
...fairly certain that ; this call wasn't recorded, so just jump to the end of this macro ; and return out of routine. Otherwise, post-process the sound ; files into something more space efficient (one gsm file) ; exten => s,1,GotoIf($[${CALLFILENAME} = ${FOO}]?11:2) exten => s,2,SetVar(MONITORDIR=/var/spool/asterisk/monitor) ; ; ; The problem with Monitor is that the second leg of the call doesn't have ; recording start until the call answers. This leaves a variably-timed ; gap between the start of the recording for the originating leg, and ; the start of the recording for the answe...
2004 Sep 15
3
call recording and CDR "feature" discovered?
...al(SIP/${EXTEN}@galaxyvoice,30,t) exten => h,1,Macro(record-cleanup) [macro-record-enable] exten => s,1,SetVar(CALLFILENAME=${TIMESTAMP}-${CALLERIDNUM}-${EXTEN}) exten => s,2,Monitor(wav,${CALLFILENAME}) exten => h,1,Macro(record-cleanup) [macro-record-cleanup] exten => s,1,SetVar(MONITORDIR=/var/spool/asterisk/monitor) exten => s,2,GotoIf($${CALLFILENAME} = ${FOO}?6:3) exten => s,3,System(/usr/bin/wmix ${MONITORDIR}/${CALLFILENAME}-in.wav ${MONITORDIR}/${CALLFILENAME}-out.wav > /home/spool/asterisk/monitor/${CALLFILENAME}.wav) exten => s,4,System(/bin/rm ${MONITORDIR}/${CA...
2003 Apr 20
1
Macros not working as expected with extension "h" in some circumstances
...; not cause any harm, so calling it on each hangup isn't a problem. ; ; First, did we record this call? If ${CALLFILENAME} is zero, then ; we can be fairly certain that this call wasn't recorded, so just ; jump to the end of this macro and return out of routine. ; exten => s,1,SetVar(MONITORDIR=/var/spool/asterisk/monitor) exten => s,2,GotoIf($[${CALLFILENAME} = 0]?s|6) ; ; This part of the routine mixes the in and out .wav files into one .wav, and then ; cleans up the original files (removes them) ; exten => s,3,System(/usr/local/bin/wmix ${CALLFILENAME}-in.wav ${CALLFILENAME}-out...
2009 Dec 07
1
Automon -> Voicemail
Hi all, What's the best method to send automon call recordings (*1) to the voicemail box of the Asterisk user? Do you have to trap hangups, etc, or is there some global variable that can be set? Thanks! S.
2003 Nov 27
1
Crash - What is happening here???
...39; -- Hungup 'Zap/32-1' == Spawn extension (netland_admin, s, 3) exited non-zero on 'Zap/32-2<ZOMBIE>' -- Executing Macro("Zap/32-2<ZOMBIE>", "record-cleanup") in new stack -- Executing SetVar("Zap/32-2<ZOMBIE>", "MONITORDIR=/var/spool/asterisk/monitor") in new stack -- Executing GotoIf("Zap/32-2<ZOMBIE>", "1?5:3") in new stack -- Goto (macro-record-cleanup,s,5) -- Executing NoOp("Zap/32-2<ZOMBIE>", "") in new stack -- Executing ChanIsAvail("...