[Asterisk-Users] problems with alsa (card ac97) in asterisk

Antonio Angel antonio_sanz at telefonica.net
Mon Nov 17 10:59:29 MST 2003


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



More information about the asterisk-users mailing list