Jonathan k. Creasy
2005-Oct-16 13:51 UTC
[Asterisk-Users] No Audio from Console but mpg123 from shellworksfine.
-----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tzafrir Cohen Sent: Sunday, October 16, 2005 2:59 AM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] No Audio from Console but mpg123 from shellworksfine.>One possibility is that the volume is set to 0. aumix can be handyhere. Does asterisk have a volume control? Like I said Asterisk is the only thing not playing.>Try simpler things, like playing wav files with 'play' of sox.Asterisk won't play anything to the cli console but anything else on the box can play fine.>Do you use ALSA or OSS for sound? What kernel version?ALSA. I used alsactl to reset the mixer controls as it was muted by default. I'm running CentOS 4.1, I don't remember the kernel version right off and I don't have access to that box here, I'll check it from work tomorrow.>> [chan_oss.so] => (OSS Console Channel Driver) >> == Parsing '/etc/asterisk/oss.conf': Found >> == Registered channel type 'Console' (OSS Console Channel Driver)>Asterisk grabs /dev/dsp . I figure you can't play anything at this >point. Though you should get stuck at trying to open it.
brett@websmyths.com
2005-Oct-16 18:00 UTC
[Asterisk-Users] No Audio from Console but mpg123 fromshellworksfine.
On 10/16/2005, "Jonathan k. Creasy" <jonathan@bluegrass.net> wrote:>-----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tzafrir > Cohen > Sent: Sunday, October 16, 2005 2:59 AM > To: asterisk-users@lists.digium.com > Subject: Re: [Asterisk-Users] No Audio from Console but mpg123 from > shellworksfine. > >> Do you use ALSA or OSS for sound? What kernel version? > > ALSA. I used alsactl to reset the mixer controls as it was muted by > default. I'm running CentOS 4.1, I don't remember the kernel version > right off and I don't have access to that box here, I'll check it from > work tomorrow. > >>> [chan_oss.so] => (OSS Console Channel Driver) >>> == Parsing '/etc/asterisk/oss.conf': Found >>> == Registered channel type 'Console' (OSS Console Channel Driver) > >> Asterisk grabs /dev/dsp . I figure you can't play anything at this >> point. Though you should get stuck at trying to open it.Sigh...>From modules.conf; ; Load either OSS or ALSA, not both ; By default, load OSS only (automatically) and do not load ALSA ; noload => chan_alsa.so ;noload => chan_oss.so Bet the problem is around here. Brett