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
On Tue, Jul 12, 2005 at 09:52:09AM +0200, Kristof Hardy wrote:> 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-"* ) &Logging from what exactly? That shouldn't be a problem on any posix system (except cygwin) . '//' is simply translated to '/' . I suspect you have a different problem.> > 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?-- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend
Hi, I'm using Bristuff 0.2.0-RC7k and asterisk 1.0.6 and I'm facing something similar... Nearly all my monitor files are in 2 parts, soxmix doesn't compile them into one file. But I don't think soxmix is to blame because when I run it from the command line, everything is ok... the problem seems to originate from the command line executing soxmix. Help would be appreciate on that matter. Best regards David -----Message d'origine----- De : Tzafrir Cohen [mailto:tzafrir@cohens.org.il] Envoy? : mardi 12 juillet 2005 10:45 ? : asterisk-users@lists.digium.com Objet : Re: [Asterisk-Users] monitor using incorrect path On Tue, Jul 12, 2005 at 09:52:09AM +0200, Kristof Hardy wrote:> Hello, > > I have been noticing the following behaviour with the monitorcommand..> 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-"* ) &Logging from what exactly? That shouldn't be a problem on any posix system (except cygwin) . '//' is simply translated to '/' . I suspect you have a different problem.> > 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?-- Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is http://tzafrir.org.il | | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | | friend _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users