Antonio Angel
2003-Nov-17 10:59 UTC
[Asterisk-Users] problems with alsa (card ac97) in asterisk
Hello, I have asterisk 0.5.0, asterisk-oh323-0.5.6, openh323-1.12.2 and pwlib 1.5.2 compiled and installed. I have modules alsa 0.9.8 compiled and installed My PC have and audio card ac97 chipset intel i810 in motherboard. The list of the modules loaded is: namor:/etc/asterisk# lsmod Module ? ? ? ? ? ? ? ? ?Size ?Used by ? ?Not tainted snd-pcm-oss ? ? ? ? ? ?35652 ? 0 snd-mixer-oss ? ? ? ? ?11264 ? 1 ?[snd-pcm-oss] snd-intel8x0 ? ? ? ? ? 16736 ? 1 snd-ac97-codec ? ? ? ? 35168 ? 0 ?[snd-intel8x0] snd-pcm ? ? ? ? ? ? ? ?56000 ? 0 ?[snd-pcm-oss snd-intel8x0] snd-timer ? ? ? ? ? ? ?13952 ? 0 ?[snd-pcm] snd-page-alloc ? ? ? ? ?5540 ? 0 ?[snd-intel8x0 snd-pcm] snd-mpu401-uart ? ? ? ? 2816 ? 0 ?[snd-intel8x0] snd-rawmidi ? ? ? ? ? ?12544 ? 0 ?[snd-mpu401-uart] snd-seq-device ? ? ? ? ?3780 ? 0 ?[snd-rawmidi] snd ? ? ? ? ? ? ? ? ? ?29984 ? 0 ?[snd-pcm-oss snd-mixer-oss snd-intel8x0 snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device] Another program working well with modules alsa (mplayer or xmms) If I run asterisk -vvvc, the program abort for module chan_alsa.so ?[chan_modem.so] => (Generic Voice Modem Driver) ? == Parsing '/etc/asterisk/modem.conf': Found ? == Loading modem driver chan_modem_aopen.so => (A/Open (Rockwell Chipset) ITU-2 VoiceModem Driver) ? == Registered channel type 'Modem' (Generic Voice Modem Channel Driver) ?[res_musiconhold.so] => (Music On Hold Resource) ? == Parsing '/etc/asterisk/musiconhold.conf': Found ? == Registered application 'MusicOnHold' ? == Registered application 'WaitMusicOnHold' ? == Registered application 'SetMusicOnHold' ?[chan_alsa.so] => (ALSA Console Channel Driver) asterisk: pcm.c:5486: snd_pcm_sw_params_set_silence_threshold: Assertion `val <?pcm->buffer_size' failed.Aborted There is problems between asterisk and alsa or ac97 ? I need any option for to compiler asterisk ? Thank
Dorian Gray
2003-Nov-17 13:41 UTC
[Asterisk-Users] problems with alsa (card ac97) in asterisk
Antonio Angel wrote:> [chan_alsa.so] => (ALSA Console Channel Driver) > asterisk: pcm.c:5486: snd_pcm_sw_params_set_silence_threshold: Assertion `val > < pcm->buffer_size' failed.Aborted > > There is problems between asterisk and alsa or ac97 ? > I need any option for to compiler asterisk ?I guess most people prefer to use oss rather than alsa...? this issue was noticed earlier this year, and the fix is now included in cvs: http://bugs.digium.com/bug_view_page.php?bug_id=0000526 I am also using i8x0 and alsa, and this patch (or latest cvs) works great for me. cheers ++dg