I have a customer in the UK with an OpenVox D110P card and a new ISDN 30 E1 that cannot make inbound or outbound calls. The server is using Asterisk 1.4.21.2-2, Zaptel 1.4.11-6, and Libpri 1.4.7. The zaptel.conf is configured as follows:
span=1,1,0,ccs,hdb3,crc4
bchan=1-15,17-31
loadzone = uk
defaultzone = uk
zapata.conf:
[code][channels]
signalling=pri_cpe
switchtype=euroisdn
overlapdial=yes
pridialplan=unknown
prilocaldialplan=unknown
group=0
context=from-zaptel
channel=>1-15,17-31
[/code]
Zttool shows that there aren’t any alarms, ztcfg -vv shows all 30 channels as does zap show channels. Zap show status shows:
[code]Description Alarms IRQ bpviol CRC4
Digium Wildcard TE110P T1/E1 Card 0 OK 0 0 0[/code]
and pri show span 1 shows:
Primary D-channel: 16
Status: Provisioned, Up, Active
Switchtype: EuroISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: -1
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T309 Timer: -1
T313 Timer: 4000
N200 Counter: 3
Everything looks fine configuration wise but when making an outbound call you get all circuits are busy (CLI shows Asterisk trying to Dial(Zap/g0)) and when you make an inbound call nothing at all appears on the CLI. An engineer from the phone company (BT) has visited the site and done a line check using an ISDN test device and calls can be made/received without any issues. With pri debug enabled on span 1 the CLI shows the D Channel going up and down:
-- Timeout occured, restarting PRI
q921.c:437 t200_expire: q921_state now is Q921_LINK_CONNECTION_RELEASED
Sending Set Asynchronous Balanced Mode Extended
q921.c:211 q921_send_sabme: q921_state now is Q921_AWAITING_ESTABLISH
== Primary D-Channel on span 1 down
Sending Set Asynchronous Balanced Mode Extended
Sending Set Asynchronous Balanced Mode Extended
Sending Set Asynchronous Balanced Mode Extended
-- Got UA from network peer Link up.
q921.c:782 q921_reset: q921_state now is Q921_LINK_CONNECTION_RELEASED
q921.c:733 q921_dchannel_up: q921_state now is Q921_LINK_CONNECTION_ESTABLISHED
== Primary D-Channel on span 1 up
-- Got SABME from network peer.
Sending Unnumbered Acknowledgement
q921.c:782 q921_reset: q921_state now is Q921_LINK_CONNECTION_RELEASED
q921.c:733 q921_dchannel_up: q921_state now is Q921_LINK_CONNECTION_ESTABLISHED
-- Got SABME from network peer.
Sending Unnumbered Acknowledgement
q921.c:782 q921_reset: q921_state now is Q921_LINK_CONNECTION_RELEASED
q921.c:733 q921_dchannel_up: q921_state now is Q921_LINK_CONNECTION_ESTABLISHED
This is the only pri related output received when making/receiving call. With pri intense debug on the output shows:
[code]< Supervisory frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 000 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 000 P/F: 1
< 0 bytes of data
Handling message for SAPI/TEI=0/0
– ACKing all packets from 0 to (but not including) 0
– Since there was nothing left, stopping T200 counter
– Stopping T203 counter since we got an ACK
– Nothing left, starting T203 counter
– Unsolicited RR with P/F bit, responding
Sending Receiver Ready (0)
[ 02 01 01 01 ]
Supervisory frame:
SAPI: 00 C/R: 1 EA: 0
TEI: 000 EA: 1
Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
N(R): 000 P/F: 1
0 bytes of data
– Restarting T203 counter
– Restarting T203 counter
< [ 02 01 7f ]
< Unnumbered frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 000 EA: 1
< M3: 3 P/F: 1 M2: 3 11: 3 [ SABME (set asynchronous balanced mode extended) ]
< 0 bytes of data
Handling message for SAPI/TEI=0/0
– Got SABME from network peer.
Sending Unnumbered Acknowledgement
[ 02 01 73 ]
Unnumbered frame:
SAPI: 00 C/R: 1 EA: 0
TEI: 000 EA: 1
M3: 3 P/F: 1 M2: 0 11: 3 [ UA (unnumbered acknowledgement) ]
0 bytes of data
– Restarting T203 counter
q921.c:782 q921_reset: q921_state now is Q921_LINK_CONNECTION_RELEASED
q921.c:733 q921_dchannel_up: q921_state now is Q921_LINK_CONNECTION_ESTABLISHED
– Restarting T203 counter
< [ 02 01 7f ]
< Unnumbered frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 000 EA: 1
< M3: 3 P/F: 1 M2: 3 11: 3 [ SABME (set asynchronous balanced mode extended) ]
< 0 bytes of data
Handling message for SAPI/TEI=0/0
– Got SABME from network peer.
Sending Unnumbered Acknowledgement
[/code]
I’m not an ISDN signalling expert, but from what I understand of the output above the server is receiving supervisory receiver ready frames, and is replying with unumeered UA and SABME frames but the D Channel is still going up and down. I have googled the issue described above and have found a few users that have had the same issue, but no one has posted a solution (except one that just tried a different Asterisk/Libpri/Zaptel combination so the issue could have been anything). I have tried the configuration with/without CRC4 but this has not made any difference. The card has its own IRQ and the average zttest score is about 99.99. If anyone has any ideas what the issue could be then I would be grateful for your help, thanks.