Hi,<br><br>I have problem using Asterisk.I have isdn-pri and openvox d110p card in my computer.They are connected with RJ-45 (1,2,4,5 pins to the card and all pins to the isdn done by telco workers). I got green led on isdn which is sign that isdn is working and that is connected to openvox, right ? I compiled newest versions of libpri zaptel and asterisk and had no problems during that. When I started services I can not receive any calls.No indication that any call is coming to Asterisk.When I dial number (to my line coz it is IN service so they can only call me not other way) I can hear telco message then few seconds of silence and busy signal. On cli I can not see anything.By the way I use Fedora 9 x64 kernel (I tryed with i386 kernel, with different machines,different distributions too but same problem occurred. Here are my relevant files :<br>
/etc/zaptel.conf<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">/etc/zaptel.conf<br>span=1,1,0,ccs,hdb3<br>bchan=1-15,17-31<br>dchan=16<br>
defaultzone=nl<br>loadzone=nl</blockquote><div>/etc/asterisk/zapata.conf<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">switchtype=euroisdn<br>
pridialplan=local<br>prilocaldialplan=local<br>...<br>callgroup=1<br>pickupgroup=1<br>immediate=no<br>; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1"<br>context=dolaz<br>signalling=pri_cpe<br>overlapdial=no<br>immediate=no<br>
group = 1<br>channel => 1-15<br>channel => 17-31 <br></blockquote></div>
/etc/asterisk/extensions.conf relevant part<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">/etc/asterisk/extensions.conf<br>[dolaz]<br>
exten => s,1,NoOp(${CALLERIDNUM})<br>exten => s,2,Wait(1)<br>exten => s,3,Answer<br>exten => s,4,Queue(callqueue|thH) ; here are logged agents waiting for calls<br>exten => s,5,Hangup</blockquote><div>
<br>/etc/init.d/zaptel restart gave me this :<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Loading zaptel framework: done.<br>Waiting for zap to come online...OK<br>
Loading zaptel hardware modules: wcte11xp.<br>Running ztcfg: done.<br></blockquote> Even when openvox is not connected to isdn i get online...OK is it ok ? How can it go online when it is not connected ?!<br><br>lsmod | grep zaptel<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">lsmod | grep zaptel<br>zaptel 201928 65 wcte11xp<br>crc_ccitt 6656 1 zaptel</blockquote>
<div><br>ztcfg -vvvv gave me this :<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">Zaptel Version: 1.4.10<br>Echo Canceller: MG2<br>Configuration<br>
======================<br>SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet (DSX-1)<br>Channel map:<br>Channel 01: Clear channel (Default) (Slaves: 01)<br>...<br>Channel 15: Clear channel (Default) (Slaves: 15)<br>Channel 16: D-channel (Default) (Slaves: 16)<br>
Channel 17: Clear channel (Default) (Slaves: 17)<br>...<br>Channel 31: Clear channel (Default) (Slaves: 31)<br></blockquote>31 channels to configure.<br> <br>pri debug span 1<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
Sending Set Asynchronous Balanced Mode Extended<br>Sending Set Asynchronous Balanced Mode Extended<br>Sending Set Asynchronous Balanced Mode Extended<br>Sending Set Asynchronous Balanced Mode Extended<br></blockquote>Whats that ?<br>
<br>zap restart<br>After attempt 1: <br>CLI> zap restart<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote"> Destroying channels and reloading zaptel configuration.<br>
== Parsing '/etc/asterisk/zapata.conf': Found<br>[Jul 13 10:32:10] WARNING[28703]: chan_zap.c:905 zt_open: Unable to specify channel 1: Device or resource busy<br>[Jul 13 10:32:10] ERROR[28703]: chan_zap.c:7219 mkintf: Unable to open channel 1: Device or resource busy<br>
here = 0, tmp->channel = 1, channel = 1<br>[Jul 13 10:32:10] ERROR[28703]: chan_zap.c:10582 build_channels: Unable to register channel '1-15'<br>[Jul 13 10:32:10] WARNING[28703]: chan_zap.c:9879 zap_restart: Reload channels from zap config failed</blockquote>
<div>attempt 2:<br>CLI> zap restart<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">....<br></blockquote><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
-- Registered channel 31, ISDN PRI signalling<br> -- Automatically generated pseudo channel<br>[Jul 13 11:04:32] ERROR[28851]: chan_zap.c:9470 start_pri: Unable to open D-channel 16 (Device or resource busy)<br>[Jul 13 11:04:32] ERROR[28851]: chan_zap.c:11382 setup_zap: Unable to start D-channel on span 1<br>
[Jul 13 11:04:32] WARNING[28851]: chan_zap.c:9879 zap_restart: Reload channels from zap config failed!<br></blockquote> Like it can not open D-channel 16 ? resource/device busy ? Is it card problem ? Is it indication that card is not good ?<br>
As far as I can see only wcte11xp is using zaptel nothing else.I eliminated hesiox or something (linux isdn) module so wcte11xp is alone on zaptel and zaptel is alone on crc_citt .wcte11xp is also alone on interrupt.<br>I have also seen those messages in CLI (1 per second) <br>
NOTICE chan_Zap.c: pri_dchannel: pri got event: hdlc bad fcs ( 8 ) on primary D-channel of span 1<br><br>Can you help me with that ?<br>Uros<br></div></div></div>