[Asterisk-Users] PRI debug

Dan Goscomb dang at cashcade.co.uk
Thu May 5 01:48:05 MST 2005


Hi

I have a problem in that every time i try to dial a number i get the
error back that the number is unassigned (from an intense debug):

> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Unallocated (unassigned) number (1),
class = Normal Event (0) ]


Is there a way in which i can see what number is being sent to the PRI?

The full intense debug is below:

> Protocol Discriminator: Q.931 (8)  len=33
> Call Ref: len= 2 (reference 6/0x6) (Originator)
> Message type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: S
peech (0)
>                              Ext: 1  Trans mode/rate: 64kbps,
circuit-mode
(16                                                                                                                    )
>                              Ext: 1  User information layer 1: A-Law
(35)
> [18 03 a9 83 81]
> Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan:
0
>                        ChanSel: Reserved
>                       Ext: 1  Coding: 0   Number Specified   Channel
Type: 3
>                       Ext: 1  Channel: 1 ]
> [6c 02 00 c3]
> Calling Number (len= 4) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
Unknown N
umber Plan (0)
>                           Presentation: Number not available (67) '' ]
> [70 0b c1 30 38 30 30 38 30 30 31 35 32]
> Called Number (len=13) [ Ext: 1  TON: Subscriber Number (4)  NPI:
ISDN/Telepho
ny Numbering Plan (E.164/E.163) (1) '0800800152' ]
> [a1]
> Sending Complete (len= 1)
    -- Called g1/0800800152
pbx*CLI> 
< [ 00 01 01 22 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 017 P/F: 0
< 0 bytes of data
-- ACKing all packets from 15 to (but not including) 17
-- ACKing packet 16, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
pbx*CLI> 
< [ 02 01 28 22 08 02 80 06 02 18 03 a9 83 81 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 020   0: 0
< N(R): 017   P: 0
< 10 bytes of data
-- ACKing all packets from 16 to (but not including) 17
-- 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=10
< Call Ref: len= 2 (reference 6/0x6) (Terminator)
< Message type: CALL PROCEEDING (2)
< [18 03 a9 83 81]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit, PRI Spare: 0, Exclusive
Dchan:
0
<                        ChanSel: Reserved
<                       Ext: 1  Coding: 0   Number Specified   Channel
Type: 3
<                       Ext: 1  Channel: 1 ]
Sending Receiver Ready (21)

> [ 02 01 01 2a ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 021 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
pbx*CLI> 
< [ 02 01 2a 22 08 02 80 06 45 08 02 82 81 1e 02 82 88 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 021   0: 0
< N(R): 017   P: 0
< 13 bytes of data
-- ACKing all packets from 16 to (but not including) 17
-- 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=13
< Call Ref: len= 2 (reference 6/0x6) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 82 81]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: Pub
lic network serving the local user (2)
<                  Ext: 1  Cause: Unallocated (unassigned) number (1),
class = N
ormal Event (0) ]
< [1e 02 82 88]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0)
0: 0
Location: Public network serving the local user (2)
<                               Ext: 1  Progress Description: Inband
information
or appropriate pattern now available. (8) ]
Sending Receiver Ready (22)

> [ 02 01 01 2c ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 022 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
    -- Channel 0/1, span 1 got hangup request
pbx*CLI> 
> [ 00 01 22 2c 08 02 00 06 4d 08 02 81 81 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 017   0: 0
> N(R): 022   P: 0
> 9 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 6/0x6) (Originator)
> Message type: RELEASE (77)
> [08 02 81 81]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0
Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Unallocated (unassigned) number (1),
class = Normal Event (0) ]
    -- Hungup 'Zap/1-1'


-- 
Dan Goscomb <dang at cashcade.co.uk>




More information about the asterisk-users mailing list