[asterisk-users] Executing Script after MixMonitor is called
Faraj Khasib
fkhasib at iconnecths.com
Wed Jan 25 09:29:59 CST 2012
Hello Guys,
I am trying to convert files that are .wac to mp3 after mixmonitor command is called but it doesnt execute the command, I tried the command in terminal it worked, any help please ... below is my dial plan
exten=6500,n,Set(MIXMONITOR_EXEC=&& nice -n 19 /usr/local/bin/lame -b 8 -t -F -m m --bitwidth 8 --quiet "/var/spool/asterisk/monitor/${CALLFILENAME}.wav" "/var/spool/asterisk/monitor/${CALLFILENAME}.mp3" && rm -f "/var/spool/asterisk/monitor/${CALLFILENAME}.wav")
exten=6500,n,MixMonitor(${CALLFILENAME}.wav,b)
More information about the asterisk-users
mailing list