[asterisk-users] Asterisk throws error using the alsa module

vitaminx vitaminx at callistix.net
Tue Dec 8 11:25:46 CST 2009


Hello,


I can't get the sound over alsa to work with Asterisk.
My current version is 1.4.21.2~dfsg-3 running on debian stable.


All settings are the default ones with exception of:


/etc/asterisk/modules.conf:

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

/etc/asterisk/alsa.conf:

input_device=default
output_device=default


asterisk is started up and doesn't complain about alsa in the logfiles.

anyway, if i connect via asterisk -r and type 'dial s' i get:


puppy*CLI> core set verbose 20
Verbosity was 0 and is now 20
puppy*CLI> console dial s
    -- Executing [s at local:1] Wait("ALSA/default", "1") in new stack
    -- Executing [s at local:2] Answer("ALSA/default", "") in new stack
 << Console call has been answered >>
    -- Executing [s at local:3] Set("ALSA/default", "TIMEOUT(digit)=5") in
new stack
    -- Digit timeout set to 5
    -- Executing [s at local:4] Set("ALSA/default", "TIMEOUT(response)=10")
in new stack
    -- Response timeout set to 10
    -- Executing [s at local:5] BackGround("ALSA/default", "demo-congrats")
in new stack
    -- <ALSA/default> Playing 'demo-congrats' (language 'en')
[Dec  8 18:24:48] ERROR[10571]: chan_alsa.c:693 alsa_read: Read error:
Resource temporarily unavailable



I couldn't find any hints using google... does anyone has an idea?


Thanks,
vitaminx


-- 
mail: vitaminx at callistix.net
www : http://www.callistix.net
irc : #callistix @ chat.freenode.net:8001



More information about the asterisk-users mailing list