[Asterisk-Users] monitor using incorrect path
David Masure
d.masure at ucr.fr
Tue Jul 12 02:57:18 MST 2005
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 at cohens.org.il]
Envoyé : mardi 12 juillet 2005 10:45
À : asterisk-users at 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 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 at jbr.cohens.org.il | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
ICQ# 16849755 | | friend
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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
More information about the asterisk-users
mailing list