Problem with libpri (tested from 11.5 to trunk)

Hello all,

I am a long time user of asterisk, first time poster to this board.
I have a mind boggling issue with libpri.
I used to have one of those cheap ISDN cards with the Cologne chipset, and I never had issues with dahdi.
I have since changed to a Digium B410P card, and it hangs at least once a day. For a while, I helped myself by a dahdi restart every 24h, now every 12h, but the problem seems to get worse.
I did a pri intense debug… The strange thing is - when this situation occurs, on incoming calls, the debug shows nothing.
On outgoing calls, debug shows this:

-- Making new call for cref 32772

> DL-DATA request
> Protocol Discriminator: Q.931 (8)  len=38
> TEI=-93 Call Ref: len= 1 (reference 4/0x4) (Sent from originator)
> Message Type: SETUP (5)
Changing from state 1(TEI unassigned) to 3(Establish awaiting TEI)
Sending TEI management message 1(TEI Identity Request), TEI=127

> TEI: -93 State 3(Establish awaiting TEI)
> V(A)=6, V(S)=6, V(R)=7
> K=1, RC=3, l3_initiated=0, reject_except=0, ack_pend=0
> T200_id=0, N200=3, T203_id=0
> [ fc ff 03 0f 93 5f 01 ff ]
> Unnumbered frame:
> SAPI: 63  C/R: 0 EA: 0
>  TEI: 127        EA: 1
>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> 5 bytes of data
> MDL Message: 1(TEI Identity Request)
> Ri: 37727
> Ai: 127 E:1
TEI=-93 Just queued I-frame since in state 3(Establish awaiting TEI)
q931.c:6036 q931_setup: Call 32772 enters state 1 (Call Initiated).  Hold state: Idle
T303 timed out.  cref:32772

> DL-DATA request
> Protocol Discriminator: Q.931 (8)  len=38
> TEI=-93 Call Ref: len= 1 (reference 4/0x4) (Sent from originator)
> Message Type: SETUP (5)
TEI=-93 Just queued I-frame since in state 3(Establish awaiting TEI)
T303 timed out.  cref:32772
q931.c:5925 t303_expiry: Call 32772 enters state 0 (Null).  Hold state: Idle
Fake clearing.  cref:32772
q931.c:9219 pri_internal_clear: alive 1, hangupack 1
q931.c:6837 q931_hangup: Hangup other cref:32772
q931.c:6594 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle
Destroying call 0x1c2f7f0, ourstate Null, peerstate Null, hold-state Idle
Sending TEI management message 1(TEI Identity Request), TEI=127

> TEI: -93 State 3(Establish awaiting TEI)
T303 timed out.  cref:32772
q931.c:5925 t303_expiry: Call 32772 enters state 0 (Null).  Hold state: Idle
Fake clearing.  cref:32772
q931.c:9219 pri_internal_clear: alive 1, hangupack 1
q931.c:6837 q931_hangup: Hangup other cref:32772
q931.c:6594 __q931_hangup: ourstate Null, peerstate Null, hold-state Idle
Destroying call 0x1c2f7f0, ourstate Null, peerstate Null, hold-state Idle
Sending TEI management message 1(TEI Identity Request), TEI=127

> TEI: -93 State 3(Establish awaiting TEI)
> V(A)=6, V(S)=6, V(R)=7
> K=1, RC=3, l3_initiated=0, reject_except=0, ack_pend=0
> T200_id=0, N200=3, T203_id=0
> [ fc ff 03 0f 10 f5 01 ff ]
> Unnumbered frame:
> SAPI: 63  C/R: 0 EA: 0
>  TEI: 127        EA: 1
>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> 5 bytes of data
> MDL Message: 1(TEI Identity Request)
> Ri: 4341
> Ai: 127 E:1
Sending TEI management message 1(TEI Identity Request), TEI=127

> TEI: -93 State 3(Establish awaiting TEI)
> V(A)=6, V(S)=6, V(R)=7
> K=1, RC=3, l3_initiated=0, reject_except=0, ack_pend=0
> T200_id=0, N200=3, T203_id=0
> [ fc ff 03 0f fb b1 01 ff ]
> Unnumbered frame:
> SAPI: 63  C/R: 0 EA: 0
>  TEI: 127        EA: 1
>   M3: 0   P/F: 0 M2: 0 11: 3  [ UI (unnumbered information) ]
> 5 bytes of data
> MDL Message: 1(TEI Identity Request)
> Ri: 64433
> Ai: 127 E:1
Unable to receive TEI from network in state 3(Establish awaiting TEI)!
TEI=-93 DL event: Q931_DL_EVENT_DL_RELEASE_IND(3)
Changing from state 3(Establish awaiting TEI) to 1(TEI unassigned)

Can somebody help me with advice?

Thank you,

Raoul

Howdy,

Problems with Digium products should be directed to Digium’s Support team:

digium.com/en/users/support_ … roduct.php

Cheers.