chan_oss.c Read error


#1

Hi, I am new to * and I just try to set it up. When I try to load it I got an error:
chan_oss.c:287 sound_thread: Read error on sound device: Invalid argument

How can I fix this? Is my M/B too old? The sound card is on the M/B. Should I have to disable the sound card?

Thanks for help


#2

Try using Alsa in /etc/asterisk/modules.conf


#3

If you don’t need to use the sound card, then the best way to fix it is to stop Asterisk from loading the OSS module (and ALSA, too, i suppose). In /etc/asterisk/modules.conf :

noload => chan_alsa.so
noload => chan_oss.so


#4

;noload => chan_alsa.so
noload => chan_oss.so

works!

THX