[asterisk-users] Asterisk 1.6 without DAHDI

Kevin P. Fleming kpfleming at digium.com
Fri Aug 6 06:43:01 CDT 2010


On 08/05/2010 06:25 PM, Roderick A. Anderson wrote:
> Kevin P. Fleming wrote:
>> On 08/05/2010 03:52 PM, Roderick A. Anderson wrote:
>>> I have a Linux-Vserver guest running CentOS 5.5 with Asterisk 1.6 
>>> installed from the asterisk.org and digium.com repositories.
>>>
>>> I have Asterisk starting (service asterisk start) but see errors about 
>>> dahdi in /var/log/asterisk/messages.
>>>
>>> ... ERROR[25658] codec_dahdi.c: Failed to open /dev/dahdi/transcode: No 
>>> such file or directory
>>>
>>> Linux-Vservers don't allow, under normal circumstances, guests to fiddle 
>>> with /dev.  I could create all the entries in /dev/dahdi but as far as I 
>>> can determine I have no need of dahdi -- Asterisk 1.6.2, SIP only 
>>> connections, and currently no conference call needs.
>>>
>>> Is there a way to stop Asterisk (safe_asterisk) from even trying to load 
>>> dahdi?
>>
>> Yes; don't load codec_dahdi.so in Asterisk. Use 'noload' in your
>> modules.conf file. What packages have you installed from the
>> asterisk.org and digium.com yum repositories?
> 
> Thanks Kevin.
> 
> I made that entry and now there are no more dahdi errors in the log file.
> 
> Here is the command I used to install Asterisk.
> 
>     yum install asterisk16 asterisk16-configs asterisk16-voicemail
> 
> And here are some RPM queries
> 
> # rpm -qa | grep asterisk
> asterisk-sounds-core-en-gsm-1.4.19-1_centos5
> asterisk16-core-1.6.2.10-1_centos5
> asterisk16-configs-1.6.2.10-1_centos5
> asterisk16-dahdi-1.6.2.10-1_centos5
> asterisk16-voicemail-1.6.2.10-1_centos5
> asterisk16-doc-1.6.2.10-1_centos5
> asterisk16-1.6.2.10-1_centos5

If you aren't going to use DAHDI, don't install the asterisk16-dahdi
package :-) Without that package, codec_dahdi wouldn't even be on your
system, and you would never have had this problem. With that package
(which provides codec_dahdi, among other things), the assumption is that
you want that module loaded.

> There are also these packages.
> 
> # rpm -qa | grep dahdi
> kmod-dahdi-linux-2.3.0.1-1_centos5.2.6.18_194.8.1.el5
> dahdi-firmware-tc400m-MR6.12-1_centos5
> dahdi-firmware-oct6114-128-1.05.01-1_centos5
> dahdi-firmware-2.0.2-1_centos5
> asterisk16-dahdi-1.6.2.10-1_centos5
> kmod-dahdi-linux-fwload-vpmadt032-2.3.0.1-1_centos5.2.6.18_194.8.1.el5
> dahdi-firmware-oct6114-064-1.05.01-1_centos5
> dahdi-firmware-hx8-2.06-1_centos5
> dahdi-linux-2.3.0.1-1_centos5

You don't need to have any of these DAHDI packages installed at all.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
skype: kpfleming | jabber: kfleming at digium.com
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list