Hi everyone,

I have a PRI conection on an * system running Asterisk 1.0.9, libpri 1.0.9 and 
zaptel 1.0.9.2 connected to an AXE 10 (APZ 21220 System 64) in the network 
side. I know the system and the wildcard I´m using are ok because I´ve used 
them before with other PRI connections (to a Siemens EWSD) without any problem.

First the PRI didn´t work (I got the TE110P alarmed with red). After 
troubleshooting with the Telco, they told me to disable crc4 and then I got the 
green ligth, the 30 B channels cleared, and I was able to dialout to the PSTN 
but only until the channels restart, because this made the call to hangup. 
Besides, when I make a call towards the system, I got a busy tone from the PSTN 
and no activity on the CLI.

The Telco has called to the system too and they say they got a "connection 
reject" even they "see" the channels available.

For troubleshooting porpouses, they have enabled the most simple configuration 
of PBX in the network side of the PRI (no DIDs, 30 B channels and one header).

These are the messages that I got in the CLI:

051008-153001 WARNING[27660]: chan_zap.c:7182 zt_pri_error: PRI: Short write: 
-1/15 (Unknown error 500)
051008-153001 WARNING[27660]: chan_zap.c:3195 zt_handle_event: Detected alarm 
on channel 1: Yellow Alarm
    -- Hungup 'Zap/1-1'
  == No one is available to answer at this time
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 2: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 3: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 4: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 5: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 6: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 7: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 8: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 9: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 10: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 11: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 12: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 13: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 14: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 15: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 17: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 18: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 19: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 20: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 21: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 22: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 23: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 24: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 25: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 26: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 27: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 28: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 29: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 30: Yellow Alarm
051008-153001 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 31: Yellow Alarm
051008-153001 NOTICE[27660]: chan_zap.c:7428 pri_dchannel: PRI got event: Alarm 
(4) on Primary D-channel of span 1
051008-153001 WARNING[27660]: chan_zap.c:1938 pri_find_dchan: No D-channels 
available!  Using Primary on channel anyway 16!
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 1
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 2
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 3
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 4
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 5
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 6
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 7
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 8
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 9
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 10
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 11
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 12
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 13
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 14
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 15
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 17
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 18
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 19
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 20
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 21
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 22
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 23
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 24
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 25
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 26
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 27
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 28
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 29
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 30
051008-153001 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 31
051008-153001 NOTICE[27660]: chan_zap.c:7428 pri_dchannel: PRI got event: No 
more alarm (5) on Primary D-channel of span 1
051008-153001 WARNING[27660]: chan_zap.c:1938 pri_find_dchan: No D-channels 
available!  Using Primary on channel anyway 16!
051008-153011 WARNING[27660]: pbx.c:1948 ast_pbx_run: Timeout, but no rule 't' 
in context 'out-SQUINTERO'
051008-153021 NOTICE[27660]: chan_sip.c:7733 handle_request: Registration from 
'prueba-pfront <sip:[EMAIL PROTECTED]>' failed for '192.168.2.48'
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 1: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 2: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 3: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 4: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 5: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 6: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 7: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 8: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 9: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 10: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 11: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 12: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 13: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 14: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 15: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 17: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 18: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 19: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 20: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 21: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 22: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 23: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 24: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 25: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 26: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 27: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 28: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 29: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 30: Yellow Alarm
051008-153037 WARNING[27660]: chan_zap.c:5684 handle_init_event: Detected alarm 
on channel 31: Yellow Alarm
051008-153037 NOTICE[27660]: chan_zap.c:7428 pri_dchannel: PRI got event: Alarm 
(4) on Primary D-channel of span 1
051008-153037 WARNING[27660]: chan_zap.c:1938 pri_find_dchan: No D-channels 
available!  Using Primary on channel anyway 16!
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 1
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 2
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 3
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 4
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 5
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 6
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 7
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 8
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 9
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 10
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 11
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 12
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 13
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 14
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 15
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 17
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 18
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 19
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 20
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 21
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 22
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 23
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 24
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 25
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 26
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 27
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 28
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 29
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 30
051008-153037 NOTICE[27660]: chan_zap.c:5679 handle_init_event: Alarm cleared 
on channel 31
051008-153037 NOTICE[27660]: chan_zap.c:7428 pri_dchannel: PRI got event: No 
more alarm (5) on Primary D-channel of span 1
051008-153037 WARNING[27660]: chan_zap.c:1938 pri_find_dchan: No D-channels 
available!  Using Primary on channel anyway 16!
icompscaliibm*CLI> exit

The system seems to have problems to get the D channel at first, then it 
synchronizes, and then it loses the sync again. I´ve changed the timing 
parameter in zaptel.conf from 0, to 1 and 2; and set/unset the yellow parameter 
in the span config line, without luck.

I was getting messages like "051010-082926 WARNING[3092]: chan_zap.c:1261 
zt_disable_ec: Unable to disable echo cancellation on channel 2
" too, but after I disable echo cancellation, they dissapeared.

I´ve tried changing the overlapdial parameter to yes, the pridialplan to local 
and unknown, and the priindication to outoband but the system still has the 
same behaviour: dialout works until the channels get cleared and there are NO 
incoming calls working. I´ve double checked my context for incoming calls, and 
modified many parameters in zapata.conf without success.

This is my zaptel.conf::

span=1,0,0,ccs,hdb3
bchan=1-15
bchan=17-31
dchan=16

loadzone=us
defaultzone=us

----

And my zapata.conf:

[trunkgroups]

[channels]

group=1

switchtype=euroisdn
pridialplan=local
;pridialplan=unknown
language=es
context=in
signalling=pri_cpe
usecallerid=yes
hidecallerid=no
callwaiting=no
;usecallingpres=yes
callwaitingcallerid=no
;threewaycalling=yes
;transfer=yes
cancallforward=yes
callreturn=no
echocancel=no
;echocancel=yes
echocancelwhenbridged=no
;echocancelwhenbridged=yes
echotraining=no
;echotraining=yes
;echotraining=800
relaxdtmf=yes
rxgain=0.0
txgain=0.0
callgroup=1
pickupgroup=1
immediate=no
callerid=asreceived
;busydetect=no
;callprogress=yes
channel => 1-15
channel => 17-31
;pulsedial=yes
priindication=outofband
resetinterval=never
overlapdial=yes 

----

Any help on what might me wrong, would be appreciated.

Regards,


Juan Manuel

---
"I know what hell is. 
 It´s not lakes of burning oil, or brimstone 
 and devils poking you in the ass with pitchforks.
 Hell is not knowing."
                        Ted McKeever.

--------------------------------------
MENSAJE ENVIADO CON WMAIL 1.01
UNIVERSIDAD DEL CAUCA


_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to