search for: mix_monitor_files

Displaying 3 results from an estimated 3 matches for "mix_monitor_files".

2003 Aug 25
6
Syncronize Monitored Calls
...}-${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 be in the path of your perl script #!/usr/bin/perl $monitordir = shift; $infile = shift; $outfile = shift; $finishfile = shift; chdir(...
2004 Jan 20
1
help - recording both sides of a conversati on
...quot;MONITORDIR=/var/spool/asterisk/conversations/") in new stack -- Executing GotoIf("Zap/49-1", " = ?6:3") in new stack -- Goto (macro-record-cleanup,s,3) Jan 20 13:43:37 WARNING[1256444864]: pbx.c:1173 pbx_extension_helper: No application 'System(/usr/scripts/mix_monitor_files.pl ${MONITORDIR} ${CALLFILENAME}-in.wav' for extension (macro-record-cleanup, s, 3) == Spawn extension (macro-record-cleanup, s, 3) exited non-zero on 'Zap/49-1' in macro 'record-cleanup' == Spawn extension (test3, h, 1) exited non-zero on 'Zap/49-1' -- Hungup ...
2004 Jun 22
3
Unify Incoming and Outgoing sound files
Hi, i have a call center which receives many calls at day. Those calls are stored in a directory in my asterisk server as WAV files. The problem is that each call is divided in 2 files: an IN.WAV file and OUT.WAV file. The OUT.WAV file is what im speaking to other person, the IN.WAV file is what that person is speaking to me. I need to unify that files into one complete file that consolidate a