<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">&lt;<a href="mailto:eliyahu.cohen1@yahoo.com">eliyahu.cohen1@yahoo.com</a>&gt;</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 &lt;<a href="mailto:idokan@gmail.com">idokan@gmail.com</a>&gt; wrote:<br>
<br>
&gt; I recommend you to download the sources, and create<br>
&gt; 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>
&gt;<br>
&gt; Also please note that Dahadi/Zaptel are also kernel<br>
&gt; modules, so make sure they are loaded properly prior on<br>
&gt; 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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Ido<br>
&gt;<br>
&gt; <a href="http://ik.homelinux.org/" target="_blank">http://ik.homelinux.org/</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Sun, Nov 1, 2009 at 3:19 PM,<br>
&gt; eliyahu cohen &lt;<a href="mailto:eliyahu.cohen1@yahoo.com">eliyahu.cohen1@yahoo.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt;<br>
&gt; I installed a X101P card on my Debian Lenny box, along with<br>
&gt; the native Debian asterisk and zaptel packages (asterisk<br>
&gt; 1:1.4.21.2~dfs, zaptel 1:1.4.11~dfsg-). When I run the zap<br>
&gt; command at the asterisk CLI I get a &quot;no such command:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; lab*CLI&gt; zap<br>
&gt;<br>
&gt; No such command &#39;zap&#39; (type &#39;help zap&#39; for<br>
&gt; other possible commands)<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; when I try to manually load the chan_zap.so module I get:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; lab*CLI&gt; module load chan_zap.so<br>
&gt;<br>
&gt; [Nov  1 08:07:54] WARNING[3242]: pbx.c:2981<br>
&gt; ast_register_application: Already have an application<br>
&gt; &#39;ZapSendKeypadFacility&#39;<br>
&gt;<br>
&gt;   == Parsing &#39;/etc/asterisk/zapata.conf&#39;: Found<br>
&gt;<br>
&gt; [Nov  1 08:07:54] WARNING[3242]: chan_zap.c:957 zt_open:<br>
&gt; Unable to specify channel 1: Device or resource busy<br>
&gt;<br>
&gt; [Nov  1 08:07:54] ERROR[3242]: chan_zap.c:7414 mkintf:<br>
&gt; Unable to open channel 1: Device or resource busy<br>
&gt;<br>
&gt; here = 0, tmp-&gt;channel = 1, channel = 1<br>
&gt;<br>
&gt; [Nov  1 08:07:54] ERROR[3242]: chan_zap.c:11900<br>
&gt; build_channels: Unable to register channel &#39;1&#39;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; my zapata.conf file contains:<br>
&gt;<br>
&gt; [trunkgroups]<br>
&gt;<br>
&gt; [channels]<br>
&gt;<br>
&gt; switchtype=national<br>
&gt;<br>
&gt; signalling=fxo_ks<br>
&gt;<br>
&gt; rxwink=300<br>
&gt;<br>
&gt; usecallerid=yes<br>
&gt;<br>
&gt; hidecallerid=no<br>
&gt;<br>
&gt; callwaiting=yes<br>
&gt;<br>
&gt; usecallingpres=yes<br>
&gt;<br>
&gt; callwaitingcallerid=yes<br>
&gt;<br>
&gt; threewaycalling=yes<br>
&gt;<br>
&gt; transfer=yes<br>
&gt;<br>
&gt; canpark=yes<br>
&gt;<br>
&gt; cancallforward=yes<br>
&gt;<br>
&gt; callreturn=yes<br>
&gt;<br>
&gt; echocancel=yes<br>
&gt;<br>
&gt; echocancelwhenbridged=yes<br>
&gt;<br>
&gt; rxgain=0.0<br>
&gt;<br>
&gt; txgain=0.0<br>
&gt;<br>
&gt; group=1<br>
&gt;<br>
&gt; callgroup=1<br>
&gt;<br>
&gt; pickupgroup=1<br>
&gt;<br>
&gt; immediate=no<br>
&gt;<br>
&gt; context=default<br>
&gt;<br>
&gt; group=0<br>
&gt;<br>
&gt; channel =&gt; 1<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I installed the asterisk package after the zaptel package.<br>
&gt; How can I get zaptel support in the Debian asterisk<br>
&gt; package?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; EC<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt;<br>
&gt; Linux-il mailing list<br>
&gt;<br>
&gt; <a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
&gt;<br>
&gt; <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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>