Displaying 1 result from an estimated 1 matches for "monitorfiletyp".
Did you mean:
monitorfiletype
2004 Dec 11
1
Can't capture "-1" return on Dial command
...record-start)
exten => s,2,Dial(${TRUNK}/${MACRO_EXTEN},70)
exten => s,3,Macro(record-stop)
exten => s,102,Macro(record-stop)
exten => h,1,Macro(record-stop)
[macro-record-start]
exten => s,1,SetVar(CFN=${MONITORPATH}/${TIMESTAMP}--${CALLERIDNUM})
exten => s,2,Monitor(${MONITORFILETYPE},${CFN})
[macro-record-stop]
exten => s,1,System(/usr/bin/soxmix ${CFN}-in.${CFE} ${CFN}-out.WAV
${CFN}.WAV)
exten => s,2,System(rm ${CFN}-in.WAV ${CFN}-out.WAV)
exten => s,3,System(/usr/bin/sox ${CFN}.WAV -t uw - | /usr/bin/lame -r
-m m -s 8 - ${CFN}.mp3)
exten => s,4,System...