[asterisk-users] Unstable PRI interface: Link restart after few min::
research at businesstz.com
research at businesstz.com
Wed Oct 21 14:50:21 CDT 2009
Hello Team
I have connected * running centos 5.2, asterisk 1.6.1 dahdi 2.1 to the
telco but the link is very unstable (D-Channel restart after some few min)
Below please find part of 'pri intensive debug span 2' for your advice.
Looks like telco is sending disconnect request but cant establish reason
for this
====================
> Supervisory frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
> N(R): 002 P/F: 1
> 0 bytes of data
INV-VOICESW01*CLI>
< [ 00 01 01 05 ]
< Supervisory frame:
< SAPI: 00 C/R: 0 EA: 0
< TEI: 000 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 002 P/F: 1
< 0 bytes of data
Handling message for SAPI/TEI=0/0
-- ACKing all packets from 1 to (but not including) 2
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 timer
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Active, peerstate Active
q931.c:3015 q931_disconnect: call 6321 on channel 1 enters state 11
(Disconnect Request)
> [ 00 01 04 04 08 02 98 b1 45 08 02 81 90 ]
> Informational frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> N(S): 002 0: 0
> N(R): 002 P: 0
> 9 bytes of data
Stopping T_203 timer
Starting T_200 timer
-- Restarting T200 timer
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 6321/0x18B1) (Terminator)
> Message type: DISCONNECT (69)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0
Location: Private network serving the local user (1)
> Ext: 1 Cause: Normal Clearing (16), class = Normal
Event (1) ]
NEW_HANGUP DEBUG: Destroying the call, ourstate Disconnect Request,
peerstate Disconnect Indication
-- Hungup 'DAHDI/1-1'
== Spawn extension (from-outside, 0222112211, 3) exited non-zero on
'DAHDI/32-1'
== End MixMonitor Recording DAHDI/32-1
-- Hungup 'DAHDI/32-1'
-- T200 counter expired, What to do...
-- Retransmitting 13 bytes
> [ 00 01 04 05 08 02 98 b1 45 08 02 81 90 ]
> Informational frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> N(S): 002 0: 0
> N(R): 002 P: 1
> 9 bytes of data
-- Rescheduling retransmission (1)
INV-VOICESW01*CLI>
< [ 00 01 01 07 ]
< Supervisory frame:
< SAPI: 00 C/R: 0 EA: 0
< TEI: 000 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 003 P/F: 1
< 0 bytes of data
Handling message for SAPI/TEI=0/0
-- ACKing all packets from 1 to (but not including) 3
-- ACKing packet 2, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Got RR response to our frame
-- Restarting T203 timer
INV-VOICESW01*CLI>
< [ 02 01 04 06 08 02 18 b1 4d ]
< Informational frame:
< SAPI: 00 C/R: 1 EA: 0
< TEI: 000 EA: 1
< N(S): 002 0: 0
< N(R): 003 P: 0
< 5 bytes of data
Handling message for SAPI/TEI=0/0
-- ACKing all packets from 2 to (but not including) 3
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
< Protocol Discriminator: Q.931 (8) len=5
< Call Ref: len= 2 (reference 6321/0x18B1) (Originator)
< Message type: RELEASE (77)
-- Making new call for cr 6321
> [ 00 01 06 06 08 02 98 b1 5a 08 02 81 d1 ]
> Informational frame:
> SAPI: 00 C/R: 0 EA: 0
> TEI: 000 EA: 1
> N(S): 003 0: 0
> N(R): 003 P: 0
> 9 bytes of data
Stopping T_203 timer
Starting T_200 timer
-- Restarting T200 timer
> Protocol Discriminator: Q.931 (8) len=9
> Call Ref: len= 2 (reference 6321/0x18B1) (Terminator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 d1]
> Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) Spare: 0
Location: Private network serving the local user (1)
> Ext: 1 Cause: Invalid call reference value (81), class
= Invalid message (e.g. parameter out of range) (5) ]
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null
NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null
-- Restarting T203 timer
INV-VOICESW01*CLI>
< [ 00 01 01 08 ]
< Supervisory frame:
< SAPI: 00 C/R: 0 EA: 0
< TEI: 000 EA: 1
< Zero: 0 S: 0 01: 1 [ RR (receive ready) ]
< N(R): 004 P/F: 0
< 0 bytes of data
Handling message for SAPI/TEI=0/0
-- ACKing all packets from 2 to (but not including) 4
-- ACKing packet 3, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Stopping T203 counter since we got an ACK
-- Nothing left, starting T203 counter
-- Restarting T203 timer
INV-VOICESW01*CLI>
Disconnected from Asterisk server
[root at INV-VOICESW01 asterisk]#
=============
The maximum call duration I have made so far is 3min
Kind regards
Sam
More information about the asterisk-users
mailing list