[asterisk-users] help with dahdi

Jerry Geis geisj at pagestation.com
Wed Nov 19 07:16:06 CST 2008


>
> >/ 
> />/ 
> />/ dahdi_dummy loads as shown.
> />/ 
> />/ When compiling asterisk 1.4.22 it compiles fine.
> />/ 
> />/ when running I get the message:
> />/ ] ERROR[10981]: asterisk.c:3036 main: Asterisk has detected a problem 
> />/ with your DAHDI configuration and will shutdown for your protection.  
> />/ You have options:
> />/         1. You only have to compile DAHDI support into Asterisk if you 
> />/ need it.  One option is to recompile without DAHDI support.
> />/         2. You only have to load DAHDI drivers if you want to take 
> />/ advantage of DAHDI services.  One option is to unload DAHDI modules if 
> />/ you don't need them.
> />/         3. If you need DAHDI services, you must correctly configure DAHDI.
> />/ 
> />/ 
> />/ dahdi_speed gives:
> />/ Count: 1782120
> /
> dahdi_speed is pointless.
>
> >/ 
> />/ dahdi_test never somes back
> /
> DAHDI loaded. Device files exist. But nothing actually ticks.
>   
Still investigating DAHDI...

 more /proc/dahdi/1
Span 1: DAHDI_DUMMY/1 "DAHDI_DUMMY/1 (source: RTC) 1" (MASTER)


I did the following on suggestions from the list. Verified that the 
packages:

gcc
g++
make
libncurses5-dev
flex
bison
patch
linux-source
linux-headers-$(uname -r)

are indeed present on my system.

service dahdi stop
rm -rf /usr/include/dahdi
rm -rf /lib/modules/2.6.18-92.el5/dahdi
rm /etc/udev/rules.d/dahdi.rules
remove my source tree for DAHDI.
grabbed the linux-complete 2.0 again.
extracted it.
according to the readme in the complete package, I did the make all, make install, make config.

then I rebooted.


asterisk gives me the same error about DAHDI is misconfigured.
 ERROR[9878]: asterisk.c:3036 main: Asterisk has detected a problem with 
your DAHDI configuration and will shutdown for your protection.  You 
have options:
        1. You only have to compile DAHDI support into Asterisk if you 
need it.  One option is to recompile without DAHDI support.
        2. You only have to load DAHDI drivers if you want to take 
advantage of DAHDI services.  One option is to unload DAHDI modules if 
you don't need them.
        3. If you need DAHDI services, you must correctly configure DAHDI.

the /proc/dahdi/1 shows its using the RTC

Whats my next step.

Jerry



More information about the asterisk-users mailing list