[asterisk-users] Channels configuration with DAHDI

Daniel Bareiro daniel-listas at gmx.net
Wed May 20 19:19:18 CDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Dave.

El miércoles 20 de mayo del 2009 a las 18:12:04 -0300,
Dave Fullerton escribió:

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

Mmmm... but I believe that it had done already in that order. In fact, I
reviewed the existence of the module and it was in the directory. For that
reasonI said that perhaps it was bug by the following thing:

[May 20 20:49:07] WARNING[23599]: 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 20:49:07] WARNING[23599]: loader.c:653 load_resource: Module
'chan_dadhi.so' could not be loaded.

Apparently Asterisk is looking for the module using an incorrect name.
Whatever happens, I compile Asterisk again but I got the same error
message.

Thanks for your reply.

Regards,
Daniel

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkoUnkMACgkQZpa/GxTmHTfKeACffr1Q2vgJnyDVrA+hCN3DtHd5
e4UAoJUSl6JjjMCX+SiUA2/cyHJhwtfN
=wCSV
-----END PGP SIGNATURE-----




More information about the asterisk-users mailing list