[asterisk-bugs] [Asterisk 0016008]: chan_alsa.c: snd_pcm_open failed: No such file or directory

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Oct 2 06:00:31 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16008 
====================================================================== 
Reported By:                vtzan
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16008
Category:                   Channels/chan_alsa
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.0-rc2 
JIRA:                        
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-01 14:16 CDT
Last Modified:              2009-10-02 06:00 CDT
====================================================================== 
Summary:                    chan_alsa.c: snd_pcm_open failed: No such file or
directory
Description: 

When trying to reach my alsa extension

exten => 8000,1,Dial(alsa/default)

I am getting this error log.


[Oct  1 20:44:24] ERROR[2121] res_timing_timerfd.c: Failed to create
timerfd timer: Function not implemented
[Oct  1 20:44:24] WARNING[2138] channel.c: No channel type registered for
'alsa'
[Oct  1 20:44:24] WARNING[2138] app_dial.c: Unable to create channel of
type 'alsa' (cause 66 - Channel not implemented)




====================================================================== 

---------------------------------------------------------------------- 
 (0111788) vtzan (reporter) - 2009-10-02 06:00
 https://issues.asterisk.org/view.php?id=16008#c111788 
---------------------------------------------------------------------- 
Problem is similar to this: 

http://lists.digium.com/pipermail/asterisk-users/2007-July/191943.html
=======================================================================
asterisk-1.4.7, Fedora 7, intel emt64 - nocona:

   == Parsing '/etc/asterisk/alsa.conf': Found
ALSA lib pcm_dsnoop.c:558:(snd_pcm_dsnoop_open) unable to 
open slave
[Jul 15 10:12:23] ERROR[24420]: chan_alsa.c:365 
alsa_card_init: snd_pcm_open failed: No such file or directory
[Jul 15 10:12:23] ERROR[24420]: chan_alsa.c:481 
soundcard_init: Problem opening alsa I/O devices
   == No sound card detected -- console channel will be 
unavailable


But:

ls /dev/snd -l
total 0
crw-rw-rw-+ 1 root root 116, 7 2007-07-14 14:22 controlC0
crw-rw-rw-+ 1 root root 116, 6 2007-07-14 14:22 pcmC0D0c
crw-rw-rw-+ 1 root root 116, 5 2007-07-14 14:22 pcmC0D0p
crw-rw-rw-+ 1 root root 116, 4 2007-07-14 14:22 pcmC0D1p
crw-rw-rw-+ 1 root root 116, 3 2007-07-14 14:22 seq
crw-rw-rw-+ 1 root root 116, 2 2007-07-14 14:22 timer

and alsamixer works. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-02 06:00 vtzan          Note Added: 0111788                          
======================================================================




More information about the asterisk-bugs mailing list