Hi,
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 :
/etc/zaptel.conf
> /etc/zaptel.conf
> span=1,1,0,ccs,hdb3
> bchan=1-15,17-31
> dchan=16
> defaultzone=nl
> loadzone=nl
/etc/asterisk/zapata.conf
> switchtype=euroisdn
> pridialplan=local
> prilocaldialplan=local
> ...
> callgroup=1
> pickupgroup=1
> immediate=no
> ; Span 1: TE2/0/1 "T2XXP (PCI) Card 0 Span 1"
> context=dolaz
> signalling=pri_cpe
> overlapdial=no
> immediate=no
> group = 1
> channel => 1-15
> channel => 17-31
>
/etc/asterisk/extensions.conf relevant part
> /etc/asterisk/extensions.conf
> [dolaz]
> exten => s,1,NoOp(${CALLERIDNUM})
> exten => s,2,Wait(1)
> exten => s,3,Answer
> exten => s,4,Queue(callqueue|thH) ; here are logged agents waiting
for
> calls
> exten => s,5,Hangup
/etc/init.d/zaptel restart gave me this :
> Loading zaptel framework: done.
> Waiting for zap to come online...OK
> Loading zaptel hardware modules: wcte11xp.
> Running ztcfg: done.
>
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 ?!
lsmod | grep zaptel
> lsmod | grep zaptel
> zaptel 201928 65 wcte11xp
> crc_ccitt 6656 1 zaptel
ztcfg -vvvv gave me this :
> Zaptel Version: 1.4.10
> Echo Canceller: MG2
> Configuration
> =====================> SPAN 1: CCS/HDB3 Build-out: 0 db (CSU)/0-133 feet
(DSX-1)
> Channel map:
> Channel 01: Clear channel (Default) (Slaves: 01)
> ...
> Channel 15: Clear channel (Default) (Slaves: 15)
> Channel 16: D-channel (Default) (Slaves: 16)
> Channel 17: Clear channel (Default) (Slaves: 17)
> ...
> Channel 31: Clear channel (Default) (Slaves: 31)
>
31 channels to configure.
pri debug span 1
> Sending Set Asynchronous Balanced Mode Extended
> Sending Set Asynchronous Balanced Mode Extended
> Sending Set Asynchronous Balanced Mode Extended
> Sending Set Asynchronous Balanced Mode Extended
>
Whats that ?
zap restart
After attempt 1:
CLI> zap restart
> Destroying channels and reloading zaptel configuration.
> == Parsing '/etc/asterisk/zapata.conf': Found
> [Jul 13 10:32:10] WARNING[28703]: chan_zap.c:905 zt_open: Unable to specify
> channel 1: Device or resource busy
> [Jul 13 10:32:10] ERROR[28703]: chan_zap.c:7219 mkintf: Unable to open
> channel 1: Device or resource busy
> here = 0, tmp->channel = 1, channel = 1
> [Jul 13 10:32:10] ERROR[28703]: chan_zap.c:10582 build_channels: Unable to
> register channel '1-15'
> [Jul 13 10:32:10] WARNING[28703]: chan_zap.c:9879 zap_restart: Reload
> channels from zap config failed
attempt 2:
CLI> zap restart
> ....
>
-- Registered channel 31, ISDN PRI signalling> -- Automatically generated pseudo channel
> [Jul 13 11:04:32] ERROR[28851]: chan_zap.c:9470 start_pri: Unable to open
> D-channel 16 (Device or resource busy)
> [Jul 13 11:04:32] ERROR[28851]: chan_zap.c:11382 setup_zap: Unable to start
> D-channel on span 1
> [Jul 13 11:04:32] WARNING[28851]: chan_zap.c:9879 zap_restart: Reload
> channels from zap config failed!
>
Like it can not open D-channel 16 ? resource/device busy ? Is it card
problem ? Is it indication that card is not good ?
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.
I have also seen those messages in CLI (1 per second)
NOTICE chan_Zap.c: pri_dchannel: pri got event: hdlc bad fcs ( 8 ) on
primary D-channel of span 1
Can you help me with that ?
Uros
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20080713/21f4f98d/attachment.htm