Displaying 1 result from an estimated 1 matches for "monitorpath".
Did you mean:
monitor_path
2004 Dec 11
1
Can't capture "-1" return on Dial command
...from extensions.conf>
[macro-dialanalog]
exten => s,1,Macro(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...