[asterisk-users] After Monitor() files disappear

Gunnar Schaller linux at nowin.de
Thu Feb 12 07:55:35 CST 2009


Hello list,
Using Asterisk 1.2.29 I use the Monitor() application. In
extensions.conf I have set MONITOR_EXEC to my script (for mixing files
together and convert to mp3) and I set TOUCH_MONITOR on every new
channel which has to be recorded.
But sometimes I'm missing the recording files. I had a look to the
Asterisk-Log and saw those lines:
Feb 10 15:18:57 NOTICE[16772] res_monitor.c: monitor executing /root/recordings "//var/spool/asterisk/monitor/XXXXX_20090210-151258-in.wav" "//var/spool/asterisk/monitor/XXXXX_20090210-151258-out.wav" "//var/spool/asterisk/monitor/XXXXX_20090210-151258.wav"  &
XXXXX is the phone-number. Exactly these recordings with two slashes
at the beginning of the parameters (//var/spool...) I'm missing. My
script does not delete them (for testing I cleared my script so it
does nothing). While Monitor is running there are files in
/var/spool/asterisk/monitor. Asterisk definitly records the call.
Seems the files disappear after the channel is hung up.
It must be an Asterisk problem. Anyone out there with an idea or a
hint? I knew Asterisk 1.2 is out of date. But I can't believe that it
is an Asterisk problem and no one else had the same problem.

Thanks,
Gunnar Schaller




More information about the asterisk-users mailing list