Re: [Asterisk-Users] MOH/mpg123 broken when running asterisk as non-root?

2004-09-07 Thread john lawler
Marconi Rivello wrote: mpg123 writes to standard output... no ports. But, the suid might actually work. chmod +s mpg123. It makes mpg123 run as the owner (if you set the owner to be root, then it will be run as root). Marconi, thanks a lot. That did the trick I just did a: chmod u+s /usr/l

Re: [Asterisk-Users] MOH/mpg123 broken when running asterisk as non-root?

2004-09-07 Thread Marconi Rivello
On Tue, 07 Sep 2004 16:36:20 -0500, john lawler <[EMAIL PROTECTED]> wrote: > > doesn't mpg123 bid to some port? try to make it suid maybe... > > Not positive, but this sounds right. What exactly do you mean by 'make > it (what?) suid' ? Some clarification would be helpful. > > Thanks, > > jl

Re: [Asterisk-Users] MOH/mpg123 broken when running asterisk as non-root?

2004-09-07 Thread john lawler
Marconi Rivello wrote: Does MOH work if you run everything as root? I mean, have you actually tested? I'm asking becaus MOH didn't work in my install, and I found out that the mpg123 in my distro was, actually, mpg321. And the parameters necessary weren't available... If this is the case, get the o

Re: [Asterisk-Users] MOH/mpg123 broken when running asterisk as non-root?

2004-09-07 Thread john lawler
doesn't mpg123 bid to some port? try to make it suid maybe... Not positive, but this sounds right. What exactly do you mean by 'make it (what?) suid' ? Some clarification would be helpful. Thanks, jl ___ Asterisk-Users mailing list [EMAIL PROTECTED] h

Re: [Asterisk-Users] MOH/mpg123 broken when running asterisk as non-root?

2004-09-07 Thread Marconi Rivello
On Tue, 07 Sep 2004 13:28:07 -0500, john lawler <[EMAIL PROTECTED]> wrote: > Pretty sure that's not the problem, b/c if I switch to my non-root user > and fire up the mpg123 player, it goes off without a hitch, and will > play an mp3 (I don't have speakers hookedup, but it's definitely not dying).

Re: [Asterisk-Users] MOH/mpg123 broken when running asterisk as non-root?

2004-09-07 Thread Marcin Mazurek
john lawler ([EMAIL PROTECTED]) napisaƂ(a): > Any more ideas? Places I could look for helpful error messages perhaps? > So far I'm not seeing any. doesn't mpg123 bid to some port? try to make it suid maybe... br mazek -- http://www.marcinmazurek.com/ ::: nic-hdl: MM3380-RIPE GnuPG 6687 E66

Re: [Asterisk-Users] MOH/mpg123 broken when running asterisk as non-root?

2004-09-07 Thread john lawler
Steve Maroney wrote: Can non-root users play mp3's with mpeg123 ? It may be a permission problem with your audio device files. Pretty sure that's not the problem, b/c if I switch to my non-root user and fire up the mpg123 player, it goes off without a hitch, and will play an mp3 (I don't have spe

Re: [Asterisk-Users] MOH/mpg123 broken when running asterisk as non-root?

2004-09-07 Thread Steve Maroney
Can non-root users play mp3's with mpeg123 ? It may be a permission problem with your audio device files. Thank you, Steve Maroney On Tue, 7 Sep 2004, john lawler wrote: > Hi guys, > > For the first time, I'm attempting to run asterisk as a non-root user > for all of the obvious reasons. > > I'

[Asterisk-Users] MOH/mpg123 broken when running asterisk as non-root?

2004-09-07 Thread john lawler
Hi guys, For the first time, I'm attempting to run asterisk as a non-root user for all of the obvious reasons. I'm attempting this with asterisk-1.0-RC2, based on the fairly straightforward directions found here: http://voip-info.org/tiki-index.php?page=Asterisk+non-root The only proble