[Asterisk-Dev] libpri changes break functionality

Matthew Boehm mboehm at cytelcom.com
Fri Apr 29 14:08:54 MST 2005


Something changed in libpri from 04/21/05 to 04/22/05 which causes our
asterisk to be unable to send calls via PRI.

I did the following steps to find where the breakage was (I actually started
with 4/18 and progressed up daily until I got breakage):

cvs co -D "April 21, 2005" libpri
cd libpri/
make; make install
cd ../asterisk/
make bininstall
Start up asterisk
load chan_zap.so
All 96 channels started, B and D
Able to recieve calls via PRI. Able to send calls via PRI

stop asterisk.
rm -f libpri/

cvs co -D "April 22, 2005" libpri
cd libpri/
make; make install
cd ../asterisk/
make bininstall
Start up asterisk
load chan_zap.so
All 96 channels started, B and D
Able to recieve calls via PRI
** NOT able to send calls via PRI **

I've attached 2 intense pri debugs. The date in the debug file corresponds
to which cvs version I checked out.

In both cases the call was sent from primary asterisk server to this server
over IAX.
Each debug has the info for 1 call: 7134687866

Let me know if you need debug traces from the CO side. I can get them.

Hope this helps,
Matthew

-- 
------------------------------------------------------------------------
Matthew Boehm, IT Director                    Cypress Telecommunications
mboehm at cytelcom.com                   3838 N. Sam Houston Parkway E #400
T: 832-200-8640 x3044                                  Houston, TX 77032

My girlfriend was recently diagnosed with multiple personality disorder;
 When she called yesterday, my CallerID box exploded.
------------------------------------------------------------------------
-------------- next part --------------
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (46)

> [ 00 01 01 5d ]

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

< [ 00 01 01 5d ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 046 P/F: 1
< 0 bytes of data
-- ACKing all packets from 45 to (but not including) 46
-- 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

> [ 00 01 5c 5c 08 02 00 02 05 04 03 80 90 a2 18 03 a9 83 97 1c 1d 9f aa 06 80 01 00 82 01 00 8b 01 00 a1 0f 02 01 02 02 01 00 80 07 4d 61 74 74 68 65 77 1e 02 80 83 28 08 b1 4d 61 74 74 68 65 77 6c 0c 21 80 32 38 31 34 34 39 34 30 30 30 70 0b a1 37 31 33 34 36 38 37 38 36 36 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 046   0: 0
> N(R): 046   P: 0
> 87 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=87
> 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 1d 9f aa 06 80 01 00 82 01 00 8b 01 00 a1 0f 02 01 02 02 01 00 80 07 4d 61 74 74 68 65 77]
> Facility (len=31, codeset=0) [ 0x9f, 0xaa, 0x06, 0x80, 0x01, 0x00, 0x82, 0x01, 0x00, 0x8b, 0x01, 0x00, 0xa1, 0x0f, 0x02, 0x01, 0x02, 0x02, 0x01, 0x00, 0x80, 0x07, 'Matthew' ]
> [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 08 b1 4d 61 74 74 68 65 77]
> Display (len= 8) Charset: 31 [ Matthew ]
> [6c 0c 21 80 32 38 31 34 34 39 34 30 30 30]
> Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number not screened (0) '2814494000' ]
> [70 0b a1 37 31 33 34 36 38 37 38 36 36]
> Called Number (len=13) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '7134687866' ]

< [ 00 01 01 5e ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 047 P/F: 0
< 0 bytes of data
-- ACKing all packets from 45 to (but not including) 47
-- ACKing packet 46, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter

< [ 02 01 5c 5e 08 02 80 02 5a 08 02 82 a9 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 046   0: 0
< N(R): 047   P: 0
< 9 bytes of data
-- ACKing all packets from 46 to (but not including) 47
-- 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 a9]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Public network serving the local user (2)
<                  Ext: 1  Cause: Temporary failure (41), class = Network Congestion (2) ]
Sending Receiver Ready (47)

> [ 02 01 01 5e ]

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

< [ 02 01 5e 5e 08 00 5a 08 02 82 a9 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 047   0: 0
< N(R): 047   P: 0
< 7 bytes of data
-- ACKing all packets from 46 to (but not including) 47
-- 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=7
Call Reference Length not supported: 0
Call Reference Length not supported: 0
< Call Ref: len= 0 (reference 0/0x0) (Originator)
< Message type: RELEASE COMPLETE (90)
< [08 02 82 a9]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Public network serving the local user (2)
<                  Ext: 1  Cause: Temporary failure (41), class = Network Congestion (2) ]
Call Reference Length not supported: 0
Sending Receiver Ready (48)

> [ 02 01 01 60 ]

> Supervisory frame:
> SAPI: 00  C/R: 1 EA: 0
>  TEI: 000        EA: 1
> Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
> N(R): 048 P/F: 0
> 0 bytes of data
-- Restarting T203 counter
-- Restarting T203 counter
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (48)

> [ 00 01 01 61 ]

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

< [ 00 01 01 5f ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 047 P/F: 1
< 0 bytes of data
-- ACKing all packets from 46 to (but not including) 47
-- 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
-------------- next part --------------
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (46)

> [ 00 01 01 5d ]

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

< [ 00 01 01 5d ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 046 P/F: 1
< 0 bytes of data
-- ACKing all packets from 45 to (but not including) 46
-- 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

> [ 00 01 5c 5c 08 02 00 02 05 04 03 80 90 a2 18 03 a9 83 97 1e 02 80 83 28 08 b1 4d 61 74 74 68 65 77 6c 0c 21 80 32 38 31 34 34 39 34 30 30 30 70 0b a1 37 31 33 34 36 38 37 38 36 36 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 046   0: 0
> N(R): 046   P: 0
> 56 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=56
> 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 ]
> [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 08 b1 4d 61 74 74 68 65 77]
> Display (len= 8) Charset: 31 [ Matthew ]
> [6c 0c 21 80 32 38 31 34 34 39 34 30 30 30]
> Calling Number (len=14) [ Ext: 0  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number not screened (0) '2814494000' ]
> [70 0b a1 37 31 33 34 36 38 37 38 36 36]
> Called Number (len=13) [ Ext: 1  TON: National Number (2)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '7134687866' ]

< [ 00 01 01 5e ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 047 P/F: 0
< 0 bytes of data
-- ACKing all packets from 45 to (but not including) 47
-- ACKing packet 46, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter

< [ 02 01 5c 5e 08 02 80 02 02 18 03 a9 83 97 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 046   0: 0
< N(R): 047   P: 0
< 10 bytes of data
-- ACKing all packets from 46 to (but not including) 47
-- 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 2/0x2) (Terminator)
< Message type: CALL PROCEEDING (2)
< [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 ]
Sending Receiver Ready (47)

> [ 02 01 01 5e ]

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

< [ 02 01 5e 5e 08 02 80 02 07 ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 047   0: 0
< N(R): 047   P: 0
< 5 bytes of data
-- ACKing all packets from 46 to (but not including) 47
-- 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 2/0x2) (Terminator)
< Message type: CONNECT (7)

> [ 00 01 5e 60 08 02 00 02 0f ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 047   0: 0
> N(R): 048   P: 0
> 5 bytes of data
-- Restarting T203 counter
Stopping T_203 timer
Starting T_200 timer
> Protocol Discriminator: Q.931 (8)  len=5
> Call Ref: len= 2 (reference 2/0x2) (Originator)
> Message type: CONNECT ACKNOWLEDGE (15)

< [ 00 01 01 60 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 048 P/F: 0
< 0 bytes of data
-- ACKing all packets from 46 to (but not including) 48
-- ACKing packet 47, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (48)

> [ 00 01 01 61 ]

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

< [ 00 01 01 61 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 048 P/F: 1
< 0 bytes of data
-- ACKing all packets from 47 to (but not including) 48
-- 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

> [ 00 01 60 60 08 02 00 02 45 08 02 81 90 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 048   0: 0
> N(R): 048   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 2/0x2) (Originator)
> Message type: DISCONNECT (69)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) ]

< [ 00 01 01 62 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 049 P/F: 0
< 0 bytes of data
-- ACKing all packets from 47 to (but not including) 49
-- ACKing packet 48, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter

< [ 02 01 60 62 08 02 80 02 4d ]

< Informational frame:
< SAPI: 00  C/R: 1 EA: 0
<  TEI: 000        EA: 1
< N(S): 048   0: 0
< N(R): 049   P: 0
< 5 bytes of data
-- ACKing all packets from 48 to (but not including) 49
-- 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 2/0x2) (Terminator)
< Message type: RELEASE (77)
Sending Receiver Ready (49)

> [ 02 01 01 62 ]

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

> [ 00 01 62 62 08 02 00 02 5a 08 02 81 90 ]

> Informational frame:
> SAPI: 00  C/R: 0 EA: 0
>  TEI: 000        EA: 1
> N(S): 049   0: 0
> N(R): 049   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 2/0x2) (Originator)
> Message type: RELEASE COMPLETE (90)
> [08 02 81 90]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Normal Clearing (16), class = Normal Event (1) ]

< [ 00 01 01 64 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 050 P/F: 0
< 0 bytes of data
-- ACKing all packets from 48 to (but not including) 50
-- ACKing packet 49, new txqueue is -1 (-1 means empty)
-- Since there was nothing left, stopping T200 counter
-- Nothing left, starting T203 counter
-- Restarting T203 counter
T203 counter expired, sending RR and scheduling T203 again
Sending Receiver Ready (49)

> [ 00 01 01 63 ]

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

< [ 00 01 01 65 ]

< Supervisory frame:
< SAPI: 00  C/R: 0 EA: 0
<  TEI: 000        EA: 1
< Zero: 0     S: 0 01: 1  [ RR (receive ready) ]
< N(R): 050 P/F: 1
< 0 bytes of data
-- ACKing all packets from 49 to (but not including) 50
-- 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


More information about the asterisk-dev mailing list