[asterisk-users] help with dahdi

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Nov 19 07:12:31 CST 2008


On Wed, Nov 19, 2008 at 12:07:06PM +0200, Hakan C wrote:
> 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

Just install build-essential

> g++

Not needed

> make

> libncurses5-dev
> flex
> bison

Those three are not needed to build dahdi.

> patch

Only if you need to apply a patch

> linux-source

Not needed.

> linux-headers-$(uname -r)

That's the one, indeed.

> 
> 
> 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)

one dahdi_cfg, without those v-s will also do. Not to mention it is
run by the dahdi init.d start target. And not even necessary if you just
need dahdi_dummy.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list