[asterisk-bugs] [Asterisk 0013966]: "Failed to open /dev/dahdi/transcode: No such file or directory" after "asterisk -U asterisk -G asterisk -cvv"

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 26 12:01:37 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13966 
====================================================================== 
Reported By:                okrief
Assigned To:                sruffell
====================================================================== 
Project:                    Asterisk
Issue ID:                   13966
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.6.0.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-11-25 01:43 CST
Last Modified:              2008-11-26 12:01 CST
====================================================================== 
Summary:                    "Failed to open /dev/dahdi/transcode: No such file
or directory" after "asterisk -U asterisk -G asterisk -cvv"
Description: 
After compiling asterisk-1.6.0.1, libpri-1.4.7 and
dahdi-linux-complete-2.0.0+2.0.0 , I got in console (after asterisk -U
asterisk -G asterisk -cvv) :
 == Parsing '/etc/asterisk/codecs.conf':   == Found
[Nov 25 08:35:18] ERROR[25144]: codec_dahdi.c:399 find_transcoders: Failed
to open /dev/dahdi/transcode: No such file or directory

# ls /dev/dahdi
channel  ctl  pseudo  timer

I got the same message with 2.1.0-rc3.
Asterisk is configured with output of "make samples" except a single
edition in asterisk.conf to allow running asterisk as non-root.

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

---------------------------------------------------------------------- 
 (0095551) sruffell (administrator) - 2008-11-26 12:01
 http://bugs.digium.com/view.php?id=13966#c95551 
---------------------------------------------------------------------- 
Then the immediate solution to your issue is to add

noload => codec_dahdi.so

to /etc/asterisk/modules.conf

Since you do not have any DAHDI hardware.  On a similar related note, you
might want to comment out all the drivers in /etc/dahdi/modules.  If you
don't have the hardware, no need to load all those modules.  You should
just be left with dahdi_dummy. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-26 12:01 sruffell       Asterisk Version          => 1.6.0.1         
2008-11-26 12:01 sruffell       SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
2008-11-26 12:01 sruffell       Disclaimer on File?       => N/A             
2008-11-26 12:01 sruffell       Note Added: 0095551                          
======================================================================




More information about the asterisk-bugs mailing list