[Asterisk-Users] No Audio from Console but mpg123fromshellworksfine.

Jonathan k. Creasy jonathan at bluegrass.net
Mon Oct 17 08:01:04 MST 2005


Thanks. I was only loading OSS. I installed the alsa development
libraries and then loaded alsa instead of oss and everything is working
now. 

Thanks!

-Jonathan

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
brett at websmyths.com
Sent: Sunday, October 16, 2005 9:00 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] No Audio from Console but
mpg123fromshellworksfine.

On 10/16/2005, "Jonathan k. Creasy" <jonathan at bluegrass.net> wrote:
>-----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tzafrir
> Cohen
> Sent: Sunday, October 16, 2005 2:59 AM
> To: asterisk-users at 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
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

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