search for: wmix

Displaying 5 results from an estimated 5 matches for "wmix".

Did you mean: mix
2003 Aug 25
6
Syncronize Monitored Calls
I thought I would post this in case it might be of any use to anyone. Not anything special but it does work. Keep in mind you need sox and wmix. Here is some relevant exerpts of my extensions.conf using John Todds macro. [globals] CALLFILENAME=foo FOO=foo CALLERIDNUM=foo [default] exten => 287,1,Macro(dial,SIP/agent20002|20) exten => 287,2,Voicemail(u287) exten => h,1,Macro(hangup) [macro-dial] exten => s,1,AGI(set-...
2003 Jul 31
4
'System' application exit with error even if it performs the job as expected
Hi, When I try to run the command wmix to mix two WAV files recorded by the Monitor application I get the following warning in the console and the macro exit at that point. Running the command from a standard system console it works. More, even from this macro it works and produce a valid mixed file, but still get that error and the mac...
2004 Jan 20
1
help - recording both sides of a conversati on
...le_samples = $1; > > > > > > if($outfile_samples > $infile_samples) > > { > > $diff_samples = $outfile_samples - $infile_samples; > > system("sox -v 3 $outfile temp${outfile} trim ${diff_samples}s"); > > system("wmix $infile temp${outfile} > $finishfile"); > > system("rm -f $infile temp${outfile} $outfile"); > > } > > elsif($infile_samples > $outfile_samples) > > { > > $diff_samples = $infile_samples - $outfile_samples; > > sy...
2003 Apr 20
1
Macros not working as expected with extension "h" in some circumstances
...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.wav > ${CALLFILENAME}) exten => s,4,System(/bin/rm ${MONITORDIR}/${CALLFILENAME}-in.wav ${MONITORDIR}/${CALLFILENAME}-out.wav) ; ; This part of the routine compresses the .wav files into a .gsm file for ; better storage (about 1/5 the size of a .wav...
2004 Sep 15
3
call recording and CDR "feature" discovered?
...ENAME=${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}/${CALLFILENAME}-in.wav ${MONITORDIR}/${CALLFILENAME}-out.wav) # exten => s,4,System(/usr/bin/toast -F ${MONITORDIR}/${CAL...