-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 El miércoles 20 de mayo del 2009 a las 21:19:18 -0300, Daniel Bareiro 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 <marks...@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. Now that I see the error with a little more of thoroughness, it seems that when doing a copy/paste in the CLI, the name of the module was incorrect and for that reason I got that error message :-). Now get a different error: alderamin*CLI> module unload chan_dahdi.so alderamin*CLI> module load chan_dahdi.so [May 21 06:15:34] WARNING[25314]: chan_dahdi.c:1233 dahdi_open: Unable to specify channel 2: No such device or address [May 21 06:15:34] ERROR[25314]: chan_dahdi.c:7662 mkintf: Unable to open channel 2: No such device or address here = 0, tmp->channel = 2, channel = 2 [May 21 06:15:34] ERROR[25314]: chan_dahdi.c:11270 build_channels: Unable to register channel '2' Can this be due to something incorrect in the configurations that I mentioned in a previous post? Whatever happens, could that be the cause by which the command 'dahdi show status' is not found? Regards, Daniel -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkoVIU8ACgkQZpa/GxTmHTcLaACZAdNfwO5l1ZRZlX4swvJJhpjI 27MAoJEK3SOw3nsTFgU0TgYJ9NhmbrUz =ln/i -----END PGP SIGNATURE----- _______________________________________________ -- 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