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