[Asterisk-Users] monitor using incorrect path
Tzafrir Cohen
tzafrir at cohens.org.il
Tue Jul 12 01:44:37 MST 2005
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
More information about the asterisk-users
mailing list