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

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Dec 8 11:32:01 CST 2009


On Tue, Dec 08, 2009 at 06:25:46PM +0100, vitaminx wrote:
> 
> 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

The sound device is being used by something else?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list