Something is using your device. If you write: $ lsmod | grep wcfxo
Do you see any module ? It usually means what Oron stated: something is using that device, or blocking it (like a non TIME_OUT process that opened it and locked it out without releasing it). Ido http://ik.homelinux.org/ On Mon, Nov 2, 2009 at 1:01 AM, eliyahu cohen <eliyahu.coh...@yahoo.com>wrote: > --- On Sun, 11/1/09, ik <ido...@gmail.com> wrote: > > > I recommend you to download the sources, and create > > packages for Debian on your own. > > Hi Ido, > > Advice taken. I installed Asterisk SVN-branch-1.4-r226531. When I start the > dahadi service I get: > > Unloading DAHDI hardware modules: done > Loading DAHDI hardware modules: > FATAL: Error inserting dahdi (/lib/modules/2.6.26-2-686/dahdi/dahdi.ko): > Device or resource busy > wcfxo: error > Error: missing /dev/dahdi! > > dmesg reports: > [333349.154776] ======================= > [333349.154776] dahdi: Unable to register DAHDI character device handler on > 196 > [333349.154782] wcfxo: Unknown symbol dahdi_alarm_notify > [333349.155002] wcfxo: Unknown symbol dahdi_transmit > [333349.158784] wcfxo: Unknown symbol dahdi_register > [333349.158784] wcfxo: Unknown symbol dahdi_hooksig > [333349.158784] wcfxo: Unknown symbol dahdi_receive > [333349.158784] wcfxo: Unknown symbol dahdi_unregister > [333349.158784] wcfxo: Unknown symbol dahdi_ec_chunk > > dahdi_scan reports: > Unable to open /dev/dahdi/ctl: No such file or directory > > > > > Also please note that Dahadi/Zaptel are also kernel > > modules, so make sure they are loaded properly prior on > > running Asterisk. > > I started the dahadi service before starting asterisk. Based on the error > messages above, what am I missing? > > Thanks, > EC > > > > > > > > > Ido > > > > http://ik.homelinux.org/ > > > > > > > > On Sun, Nov 1, 2009 at 3:19 PM, > > eliyahu cohen <eliyahu.coh...@yahoo.com> > > wrote: > > > > > > I installed a X101P card on my Debian Lenny box, along with > > the native Debian asterisk and zaptel packages (asterisk > > 1:1.4.21.2~dfs, zaptel 1:1.4.11~dfsg-). When I run the zap > > command at the asterisk CLI I get a "no such command: > > > > > > > > > > > > lab*CLI> zap > > > > No such command 'zap' (type 'help zap' for > > other possible commands) > > > > > > > > when I try to manually load the chan_zap.so module I get: > > > > > > > > lab*CLI> module load chan_zap.so > > > > [Nov 1 08:07:54] WARNING[3242]: pbx.c:2981 > > ast_register_application: Already have an application > > 'ZapSendKeypadFacility' > > > > == Parsing '/etc/asterisk/zapata.conf': Found > > > > [Nov 1 08:07:54] WARNING[3242]: chan_zap.c:957 zt_open: > > Unable to specify channel 1: Device or resource busy > > > > [Nov 1 08:07:54] ERROR[3242]: chan_zap.c:7414 mkintf: > > Unable to open channel 1: Device or resource busy > > > > here = 0, tmp->channel = 1, channel = 1 > > > > [Nov 1 08:07:54] ERROR[3242]: chan_zap.c:11900 > > build_channels: Unable to register channel '1' > > > > > > > > my zapata.conf file contains: > > > > [trunkgroups] > > > > [channels] > > > > switchtype=national > > > > signalling=fxo_ks > > > > rxwink=300 > > > > usecallerid=yes > > > > hidecallerid=no > > > > callwaiting=yes > > > > usecallingpres=yes > > > > callwaitingcallerid=yes > > > > threewaycalling=yes > > > > transfer=yes > > > > canpark=yes > > > > cancallforward=yes > > > > callreturn=yes > > > > echocancel=yes > > > > echocancelwhenbridged=yes > > > > rxgain=0.0 > > > > txgain=0.0 > > > > group=1 > > > > callgroup=1 > > > > pickupgroup=1 > > > > immediate=no > > > > context=default > > > > group=0 > > > > channel => 1 > > > > > > > > I installed the asterisk package after the zaptel package. > > How can I get zaptel support in the Debian asterisk > > package? > > > > > > > > Thanks, > > > > EC > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > Linux-il mailing list > > > > Linux-il@cs.huji.ac.il > > > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > > > > > > > >
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il