[asterisk-users] Asterisk 1.6 without DAHDI

Roderick A. Anderson raanders at cyber-office.net
Thu Aug 5 18:25:41 CDT 2010


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

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

There may be more but I haven't taken the time to figure out how to get 
"yum info" to work like it used to -- showing the source repo instead of 
just the current (installed) repo -- so some of these are probably not 
from the asterisk.org or digium.com repos.  There may be more that were 
installed as dependencies.


\\||/
Rod
-- 




> 




More information about the asterisk-users mailing list