PRI: Provisioned, Down, Active

SORRY: I’m sorry for the duplicates, I had connection problems.

Scenario: AsteriskNow 1.0.1: Asterisk 1.4.18.1, Zaptel 1.4.10 and libpri 1.4.3 (zaptel and libpri both manually recompiled, trying to solve the problem).

Hardware and PRI: Digium TE120P on a E1 PRI line (Italy, provider: Telecom Italia)

Nature of the problem: everything works fine for days, I can receive and start calls from asterisk; suddenly the primary d-channel goes down, and it doesn’t go up back again until I stop Asterisk, reload Zaptel, and start Asterisk again.

How often?: (seems) random :open_mouth:

Logs and command outputs:

/var/log/asterisk/messages

VERBOSE[3216] logger.c: == Primary D-Channel on span 1 down WARNING[3216] chan_zap.c: No D-channels available! Using Primary channel 16 as D-channel anyway!

asterisk console

asterisk*CLI> pri show spans PRI span 1/0: Provisioned, Down, Active

zttool shows no alarms or missing IRQs. Only asterisk can’t see the D-Channel anymore, neither if I restart it. I must restart zaptel too in order to get things working.

Configuration:

/etc/zaptel.conf

[code]# Span 1: WCT1/0 “Wildcard TE120P Card 0” (MASTER) HDB3/CCS YELLOW
span=1,1,0,ccs,hdb3,crc4,yellow

termtype: te

bchan=1-15,17-31
dchan=16

Global data

loadzone = it
defaultzone = it[/code]

/etc/asterisk/zapata.conf

[code][trunkgroups]

[channels]
signalling=pri_cpe
switchtype=euroisdn
resetinterval=never
language=it
context=default
loadzone=it
defaultzone=it
channel => 1-15,17-31[/code]

Any help would be very much appreciated!

Thanks,
Federico