[Asterisk-Dev] Problem with libpri connecting to a NI2

Timothy Costello tim at cteusa.com
Wed May 11 16:33:04 MST 2005


Hi;

With the recent change in channel zap / zaptel / libpri to more 
debugging I decide to upgrade all of the above. Now I can't make 
outgoing calls on my PRI. I don't know what to even begin to look at 
really but here is a pri intense debug of the problem. Meanwhile I will 
be reverting to an older working libpri/asterisk.

If anyone has any ideas please e-mail me.  This was a working config 
prior to the upgrade, no config options were changed.

Thanks;
Tim

pri intense debug span 1
Enabled EXTENSIVE debugging on span 1
< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 026 P/F: 1
< 0 bytes of data
-- ACKing all packets from 25 to (but not including) 26
-- 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 counter
     -- Executing SetAccount("SIP/tim-b5ba", "4224") in new stack
     -- Executing SetCallerPres("SIP/tim-b5ba", "allowed") in new stack
     -- Executing Dial("SIP/tim-b5ba", "Zap/G1/18475550986|300") in new 
stack
     -- Requested transfer capability: 0x00 - SPEECH
asterisk*CLI>
 > [ 00 01 34 36 08 02 00 02 05 04 03 80 90 a2 18 03 a9 83 97 1c 22 9f 
aa 06 80 01 00 82 01 00 8b 01 00 a1 14 02 01 02 02 01 00 80 0c 54 69 6d 
20 43 6f 73 74 65 6c 6c 6f 1e 02 80 83 28 0d b1 54 69 6d 20 43 6f 73 74 
65 6c 6c 6f 6c 0c 00 83 38 34 37 37 35 39 34 32 32 34 70 0c 80 31 38 34 
37 33 37 35 30 39 38 36 ]
asterisk*CLI>
 > Informational frame:
 > SAPI: 00  C/R: 0 EA: 0
 >  TEI: 000        EA: 1
 > N(S): 026   0: 0
 > N(R): 027   P: 0
 > 98 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
 > Protocol Discriminator: Q.931 (8)  len=98
 > Call Ref: len= 2 (reference 2/0x2) (Originator)
 > Message type: SETUP (5)
 > [04 03 80 90 a2]
 > Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer 
capability: Speech (0)
 >                              Ext: 1  Trans mode/rate: 64kbps, 
circuit-mode (16)
 >                              Ext: 1  User information layer 1: u-Law 
(34)
 > [18 03 a9 83 97]
 > 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: 23 ]
 > [1c 22 9f aa 06 80 01 00 82 01 00 8b 01 00 a1 14 02 01 02 02 01 00 80 
0c 54 69 6d 20 43 6f 73 74 65 6c 6c 6f]
 > Facility (len=36, codeset=0) [ 0x9f, 0xaa, 0x06, 0x80, 0x01, 0x00, 
0x82, 0x01, 0x00, 0x8b, 0x01, 0x00, 0xa1, 0x14, 0x02, 0x01, 0x02, 0x02, 
0x01, 0x00, 0x80, 0x0c, 'Tim', 0x20, 'Costello' ]
 > [1e 02 80 83]
 > Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard 
(0) 0: 0   Location: User (0)
 >                               Ext: 1  Progress Description: Calling 
equipment is non-ISDN. (3) ]
 > [28 0d b1 54 69 6d 20 43 6f 73 74 65 6c 6c 6f]
 > Display (len=13) Charset: 31 [ Tim Costello ]
 > [6c 0c 00 83 38 34 37 35 35 35 34 32 32 34]
 > Calling Number (len=14) [ Ext: 0  TON: Unknown Number Type (0)  NPI: 
Unknown Number Plan (0)
 >                           Presentation: Presentation allowed of 
network provided number (3) '8475554224' ]
 > [70 0c 80 31 38 34 37 35 35 35 30 39 38 36]
 > Called Number (len=14) [ Ext: 1  TON: Unknown Number Type (0)  NPI: 
Unknown Number Plan (0) '18475550986' ]
     -- Called G1/18475550986

< [ 00 01 01 36 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 027 P/F: 0
< 0 bytes of data
-- ACKing all packets from 25 to (but not including) 27
-- ACKing packet 26, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
asterisk*CLI>
< [ 02 01 36 36 08 02 80 02 5a 08 02 82 b2 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 027   0: 0
< N(R): 027   P: 0
< 9 bytes of data
-- ACKing all packets from 26 to (but not including) 27
-- 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=9
< Call Ref: len= 2 (reference 2/0x2) (Terminator)
< Message type: RELEASE COMPLETE (90)
< [08 02 82 b2]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   
Location: Public network serving the local user (2)
<                  Ext: 1  Cause: Facility not subscribed (50), class = 
Service or Option not Available (3) ]
Sending Receiver Ready (28)

 > [ 02 01 01 38 ]

 > Supervisory frame:
 > SAPI: 00  C/R: 1 EA: 0
 >  TEI: 000        EA: 1
 > Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
 > N(R): 028 P/F: 0
 > 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
     -- Channel 0/23, span 1 got hangup
     -- Hungup 'Zap/23-1'
   == No one is available to answer at this time (1:0/0/0)
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (28)

 > [ 00 01 01 39 ]

 > Supervisory frame:
 > SAPI: 00  C/R: 0 EA: 0
 >  TEI: 000        EA: 1
 > Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
 > N(R): 028 P/F: 1
 > 0 bytes of data
-- Restarting T203 counter
asterisk*CLI>
< [ 00 01 01 37 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 027 P/F: 1
< 0 bytes of data
-- ACKing all packets from 26 to (but not including) 27
-- 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 counter
     -- Timeout on SIP/tim-b5ba
   == CDR updated on SIP/tim-b5ba
     -- Executing Hangup("SIP/tim-b5ba", "") in new stack
   == Spawn extension (internal, t, 1) exited non-zero on 'SIP/tim-b5ba'
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (28)




More information about the asterisk-dev mailing list