[Asterisk-Users] can't get oss console working.

Jason Ferrara jason at discordia.org
Thu Dec 25 13:34:30 MST 2003


I've been trying to get a console channel working without success.

The sound card, which is built into the motherboard, is a VIA 
Technologies, Inc. VT82C686 AC97 Audio Controller.

Using the oss drivers (vi82cxxx_audio) in kernel 2.4.23 and chan_oss, I 
just get beeps and screeches.

Using alsa drivers (snd-via82cxx) and chan_oss (using the alsa oss 
emulation), playing sound works,
but anything recorded via the mic has a weird scratchy echo over it. If 
I use a program other than asterisk
to record (such as rec or arecord), the recording sounds fine. It works 
even if I'm playing a sound at the same
time, so its not a duplex issue with the card.

So I attempted to use chan_alsa with the alsa drivers. I discovered it 
will segfault with the current
version of alsa unless you add
#define ALSA_PCM_OLD_HW_PARAMS_API
#define ALSA_PCM_OLD_SW_PARAMS_API
to the top of chan_alsa.c. Even then, though, it doesn't work right. 
Playing sound works, but recording
doesn't work at all. You just get nothing.

I also tried an Ensoniq ES1371 AudioPCI sound card. With alsa drivers, 
it behaves just like the
VT82C686. With oss drivers, it mostly works, except the sound level of 
things recorded with the mic
is way way too low, no matter how I adjust the mixer.

So, any suggestions? Does anyone have a working console with asterisk, 
and if so, what combination
of channel, sound card, and sound card drivers are you using?

Thanks.

Here is more information about my system, in case its useful.
Redhat 9
Kernel 2.4.23
1.2Ghz celeron
640mb ram
X100P and TDM400P interface cards
asterisk from cvs on 12/24/03







More information about the asterisk-users mailing list