[asterisk-users] help with dahdi

Hakan C ella4ever at gmail.com
Wed Nov 19 04:07:06 CST 2008


Hello,

First step:
Stop and Uninstall DAHDI, well theres no uninstall script in DAHDI source,
so just stop it and remove kernel modules.

> /etc/init.d/dahdi stop

then go to your /usr/src
dont forget to install your kernel headers and sources, and these packages
are necessary:

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


then purge your DAHDI source, and download again.
http://downloads.digium.com/pub/telephony/dahdi-linux/dahdi-linux-2.0.0.tar.gz
http://downloads.digium.com/pub/telephony/dahdi-tools/dahdi-tools-2.0.0.tar.gz

and go to dahdi-linux first.
> make
> make install

and then go to dahdi-tools:
> ./configure
> make
> make install
> make config

then restart DAHDI with:
> /etc/init.d/dahdi stop
> /etc/init.d/dahdi start
> dahdi_cfg -vvv (2 times)

Hope this works, good luck!


On Wed, Nov 19, 2008 at 10:22 AM, Tzafrir Cohen <tzafrir.cohen at xorcom.com>wrote:

>  On Tue, Nov 18, 2008 at 07:56:36PM -0500, Jerry Geis wrote:
> > I am installing dahdi on a machine
> > lspci
> > 00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge
> > 00:01.0 PCI bridge: Hewlett-Packard Company Unknown device 9602
> > 00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge
> > (PCIE port 0)
> > 00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge
> > (PCIE port 1)
> > 00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge
> > (PCIE port 2)
> > 00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge
> > (PCIE port 3)
> > 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
> > Controller [AHCI mode]
> > 00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0
> > Controller
> > 00:12.1 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI1
> > Controller
> > 00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI
> Controller
> > 00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0
> > Controller
> > 00:13.1 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI1
> > Controller
> > 00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI
> Controller
> > 00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3a)
> > 00:14.1 IDE interface: ATI Technologies Inc SB700/SB800 IDE Controller
> > 00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia
> > 00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
> > 00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
> > 00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 11h
> > HyperTransport Configuration (rev 40)
> > 00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 11h Address Map
> > 00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 11h DRAM
> Controller
> > 00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 11h
> > Miscellaneous Control
> > 00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 11h Link Control
> > 01:05.0 VGA compatible controller: ATI Technologies Inc RS780M/RS780MN
> > [Radeon HD 3200 Graphics]
> > 01:05.1 Audio device: ATI Technologies Inc RS780 Azalia controller
> > 08:00.0 System peripheral: JMicron Technologies, Inc. Unknown device 2382
> > 08:00.2 SD Host controller: JMicron Technologies, Inc. Unknown device
> 2381
> > 08:00.3 System peripheral: JMicron Technologies, Inc. Unknown device 2383
> > 08:00.4 System peripheral: JMicron Technologies, Inc. Unknown device 2384
> > 09:00.0 Ethernet controller: Atheros Communications Inc. AR242x
> > 802.11abg Wireless PCI Express Adapter (rev 01)
> > 0a:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E
> > PCI Express Fast Ethernet controller (rev 02)
> >
> >
> > dahdi complete 2.0.0 compiles fine. I am running centos 5.2 x86_64.
> > the service starts fine.
> >
> >  lsmod | grep dahdi
> > dahdi_dummy            38984  0
> > dahdi                 231888  1 dahdi_dummy
> > crc_ccitt              35265  1 dahdi
>
> dahdi_dummy should be the source of timing ("ticks")
>
> >
> >
> > 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.
>
> --
>               Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com<jabber%3Atzafrir.cohen at xorcom.com>
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081119/094f8ff6/attachment.htm 


More information about the asterisk-users mailing list