Greetings,

Just noticed that the monitored audio files are not being joined under FreeBSD. Upon closer inspection, I found the culprit in the ast_monitor_stop:

                        if (ast_strlen_zero(execute)) {
                                execute = "nice -n 19 soxmix";
                                delfiles = 1;
                        }

Now, while the docs say that the '-n' is the way to go, here is the output from it:

# nice -n 19 soxmix
nice: Badly formed number.

However, this works:

# nice -19 soxmix
soxmix: Usage: [ gopts ] [ fopts ] ifile1 [fopts] ifile2 [ fopts ] ofile [ effect [ effopts ] ]

Failed: Not enough input or output filenames specified

So what's is going on? While this looks like a bug with nice, a patch could be handy for net/asterisk IMHO.

regards,
Vahan

_______________________________________________
Asterisk-BSD mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-bsd

Reply via email to