[asterisk-users] Meetmee user introduction disabled

David Backeberg dbackeberg at gmail.com
Thu May 27 12:15:14 CDT 2010


On Thu, May 27, 2010 at 4:05 AM, Theo Band <theo.band at greenpeak.com> wrote:
> First I noted that dahdi_dummy is no longer present in
> kmod-dahdi-linux-2.3.0.1-1.

Not exactly true.

myhost01 asterisk # lsmod | grep dahdi
dahdi_dummy             5812  0
dahdi_transcode         8968  1 wctc4xxp
dahdi_voicebus         42048  2 wctdm24xxp,wcte12xp
dahdi                 198992  24
dahdi_dummy,xpp,dahdi_transcode,wcb4xxp,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,dahdi_voicebus,wct4xxp
crc_ccitt               4096  2 wctdm24xxp,dahdi

myhost01 asterisk # dmesg | grep dahdi
dahdi: Telephony Interface Registered on major 196
dahdi: Version: 2.3.0

> Reverting back to kmod-dahdi-linux-2.2.1-1
> solved that issue, now the module is loaded again.

I suppose it would. I got dahdi_dummy with 2.3.0 by analyzing how the
build process worked, and doing some tricks. I could see dahdi_dummy.c
was in the package but it wasn't getting built.

Here's the trick.

If you pull down the combined dahdi package, extract it,
cd into the extracted top-level folder
cd linux (which is the dahdi proper stuff)

make MODULES_EXTRA=dahdi_dummy

That worked for me.
Do the make install too.

asktest01 linux # make MODULES_EXTRA=dahdi_dummy
make -C drivers/dahdi/firmware firmware-loaders
make[1]: Entering directory
`/usr/local/src/dahdi-linux-complete-2.3.0+2.3.0/linux/drivers/dahdi/firmware'
make[1]: Leaving directory
`/usr/local/src/dahdi-linux-complete-2.3.0+2.3.0/linux/drivers/dahdi/firmware'
make -C /lib/modules/2.6.28.9/build
SUBDIRS=/usr/local/src/dahdi-linux-complete-2.3.0+2.3.0/linux/drivers/dahdi
DAHDI_INCLUDE=/usr/local/src/dahdi-linux-complete-2.3.0+2.3.0/linux/include
DAHDI_MODULES_EXTRA="dahdi_dummy.o " HOTPLUG_FIRMWARE=yes modules
DAHDI_BUILD_ALL=m
make[1]: Entering directory `/usr/src/linux-2.6.28.9'
  CC [M]  /usr/local/src/dahdi-linux-complete-2.3.0+2.3.0/linux/drivers/dahdi/dahdi_dummy.o

  Building modules, stage 2.
  MODPOST 31 modules
  CC      /usr/local/src/dahdi-linux-complete-2.3.0+2.3.0/linux/drivers/dahdi/dahdi_dummy.mod.o
  LD [M]  /usr/local/src/dahdi-linux-complete-2.3.0+2.3.0/linux/drivers/dahdi/dahdi_dummy.ko
make[1]: Leaving directory `/usr/src/linux-2.6.28.9'

It seems that these days you need to provide extra arguments to get
dahdi_dummy, and it's getting filtered by default.



More information about the asterisk-users mailing list