[Asterisk-Users] monitor using incorrect path

Kristof Hardy kristof.hardy at catsanddogs.com
Tue Jul 12 00:52:09 MST 2005


Hello,

I have been noticing the following behaviour with the monitor command.. 
Normally it records to the default location and then uses soxmix to 
create the correct wav file.

But for some reason sometimes it doesn't use 
/var/spool/asterisk/monitor/.. but //var/spool/asterisk/monitor/.. 
(notice the 2 // in front!)

Here is some logging:
monitor executing ( nice -n 19 soxmix 
"//var/spool/asterisk/monitor/SIP-242-027e_1-in.wav" 
"//var/spool/asterisk/monitor/SIP-242-027e_1-out.wav" 
"//var/spool/asterisk/monitor/SIP-242-027e_1.wav"  && rm -f 
"//var/spool/asterisk/monitor/SIP-242-027e_1-"* ) &

And when it is correct, it does:
monitor executing ( nice -n 19 soxmix 
"/var/spool/asterisk/monitor/SIP-220-c400_0-in.wav" 
"/var/spool/asterisk/monitor/SIP-220-c400_0-out.wav" 
"/var/spool/asterisk/monitor/SIP-220-c400_0.wav"  && rm -f 
"/var/spool/asterisk/monitor/SIP-220-c400_0-"* ) &

For the record, I am using bristuff-RC8h (that is, quadBRI and 
asterisk-1.0.8) on a Debian 3.1.

Any ideas on what I might be doing wrong, or does anyone see the same 
behaviour?


Cheers,

Kristof




More information about the asterisk-users mailing list