I have compiled Asterisk 1.8 from source, as well as the Dahdi software from source.
After running “dahdi_genconf” I get the error:
When I check in /etc/dahdi/system.conf I see the following: (I have also tried changing unknown to “te” but then the /etc/asterisk/dahdi-channels.conf file doesn’t seem to be created properly)
[code]# Autogenerated by /usr/sbin/dahdi_genconf on Tue Aug 9 08:31:15 2011
If you edit this file and execute /usr/sbin/dahdi_genconf again,
your manual changes will be LOST.
Dahdi Configuration File
This file is parsed by the Dahdi Configurator, dahdi_cfg
I am getting same error message. I installed AsteriskNOW 1.7.1 32bit and did yum update before running dahdi_genconf. I’m using TE122B card.
From the source code /usr/lib/perl5/site_perl/5.8.8/Dahdi/Span.pm I see that the span type if being set to T1_UNKNOWN which is not found in the hash of supported types, e.g. T1_TE or T1_NT are expected. If I am reading this right it sets span type value based on the card model name obtained from /proc/dahdi/ and in case of some cards it can not do it, so I guess there might be come config file setting to manually set it (I’ve not yet gone deep enough to see if it reads any).
I am a new to Asterisk I don’t know where to look now, other than keep reding the source. Pointer in the right direction would be nice. Thanks.
I was told by digium that it was a bug in the latest version of Dahdi. I ended up downloading a slightly older version of Dahdi and compiled it and this error went away. Hope this helps.
Hi wrender - did you get any reference number for the bug in the latest version of dahdi? I could not find anything that matched this in the Digium issue tracker, and I need to get Dahdi 2.5.0 working.
I solved this by dowgrading dahdi-tools package to version 2.4.1-1.
I’m using AsteriskNOW-1.7.1. Version of dahdi-tools installed from the CD works fine. Upgrading all packages to latest breaks dahdi_genconf so I downgrade just the one package as a work around.