[asterisk-users] Channels configuration with DAHDI

Dave Fullerton dfullertasterisk at shorelinecontainer.com
Wed May 20 16:12:04 CDT 2009


Daniel Bareiro wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Hi Tzafrir.
> 
> El miércoles 20 de mayo del 2009 a las 10:00:46 -0300,
> Tzafrir Cohen escribió:
> 
>> On Wed, May 20, 2009 at 07:03:15AM -0300, Daniel Bareiro wrote:
> 
>> Hint: you don't need to set 'signalling' for analog channels. Or just
>> set it explicitly to "auto". This is for Asterisk >= 1.6.0 . Simply
>> reduces the complication a bit...
> 
> Thanks for the tip. I will remember it for when I use Asterisk 1.6 :-)
> 
>>> I load the modules wctdm and dahdi. But when I execute in Asterisk
>>> CLI "dahdi show channels", I get the following error message:
>>>
>>>
>>> No such command 'dahdi show channels' (type 'help dahdi show' for
>>> other possible commands)
> 
>> Try running:
>>
>>   asterisk -r
>>
>> and in that prompt:
>>
>>   module unload chan_dadhi.so
>>   module   load chan_dadhi.so
>>
>> and tell us the output you got.
> 
> 
> # asterisk -r
> Asterisk 1.4.24.1, Copyright (C) 1999 - 2008 Digium, Inc. and others.
> Created by Mark Spencer <markster at digium.com>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty'
> for details.
> This is free software, with components licensed under the GNU General
> Public
> License version 2 and other licenses; you are welcome to redistribute it
> under
> certain conditions. Type 'core show license' for details.
> =========================================================================
> Connected to Asterisk 1.4.24.1 currently running on alderamin (pid =
> 19777)
> Verbosity is at least 7
> alderamin*CLI>
> alderamin*CLI> module unload chan_dadhi.so
> alderamin*CLI> module   load chan_dadhi.so
> [May 20 17:52:19] WARNING[10345]: loader.c:359 load_dynamic_module:
> Error loading module 'chan_dadhi.so':
> /usr/lib/asterisk/modules/chan_dadhi.so: cannot open shared object file:
> No such file or directory
> [May 20 17:52:19] WARNING[10345]: loader.c:653 load_resource: Module
> 'chan_dadhi.so' could not be loaded.
> alderamin*CLI>
> 
> 
> Mmmm... it would seem to be a bug:
> 
> /usr/lib/asterisk/modules/chan_dadhi.so: cannot open shared object file:
> No such file or directory
> 

Sounds like DAHDI was installed/compiled *after* Asterisk was compiled. 
Recompile Asterisk again and make sure 
/usr/lib/asterisk/modules/chan_dahdi.so is created when you make install.

-Dave



More information about the asterisk-users mailing list