[asterisk-bugs] [Asterisk 0015452]: Unable to make ISDN PRI calls after upgrade.

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 7 17:07:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15452 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15452
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!): 203077 
Request Review:              
====================================================================== 
Date Submitted:             2009-07-05 21:50 CDT
Last Modified:              2009-07-07 17:07 CDT
====================================================================== 
Summary:                    Unable to make ISDN PRI calls after upgrade.
Description: 
After upgrade to SVN-trunk-r204919M from SVN-branch-1.6.2-r203077M we are
unable to make ISDN PRI calls.

reverting back to 1.6.2-r203077M with exactly same configs, works again.

Console output as attached files.

The difference is the extra "Ext: 1  DS1 Identifier: 0" that's not present
using older code.

====================================================================== 

---------------------------------------------------------------------- 
 (0107463) alecdavis (reporter) - 2009-07-07 17:07
 https://issues.asterisk.org/view.php?id=15452#c107463 
---------------------------------------------------------------------- 
libpri version: SVN-branch-1.4-r865
Asterisk SVN-trunk-r205014
DAHDI Version: 2.2.0 Echo Canceller: MG2

Connecting to a Jtec QSIG card the call fails as reported.

If we connect to a JTec E1MN ETSI card, the call will succeed. Still has
an error come back.

Console output below, connected to non QSIG trunk:
    -- Executing [4888 at trusted:1] Set("SIP/GXP0001-088e7a40",
"CALLERID(num)=8512") in new stack
    -- Executing [4888 at trusted:2] Dial("SIP/GXP0001-088e7a40",
"DAHDI/r0/4888") in new stack
-- Making new call for cr 32773
    -- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8)  len=31
> Call Ref: len= 2 (reference 5/0x5) (Originator)
> Message Type: SETUP (5)
> [04 03 80 90 a3]
> Bearer Capability (len= 5) [ Ext: 1  Q.931 Std: 0  Info transfer
capability: Speech (0)
>                              Ext: 1  Trans mode/rate: 64kbps,
circuit-mode (16)
>                                User information layer 1: A-Law (35)
> [18 04 e1 80 83 84]
> Channel ID (len= 6) [ Ext: 1  IntID: Explicit  PRI  Spare: 0  Preferred 
Dchan: 0
>                        ChanSel: As indicated in following octets
>                       Ext: 1  DS1 Identifier: 0
>                       Ext: 1  Coding: 0  Number Specified  Channel Type:
3
>                       Ext: 1  Channel: 4 Type: CPE]
> [6c 06 00 80 38 35 31 32]
> Calling Number (len= 8) [ Ext: 0  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0)
>                           Presentation: Presentation permitted, user
number not screened (0)  '8512' ]
> [70 05 80 34 38 38 38]
> Called Number (len= 7) [ Ext: 1  TON: Unknown Number Type (0)  NPI:
Unknown Number Plan (0)  '4888' ]
q931.c:3211 q931_setup: call 32773 on channel 4 enters state 1 (Call
Initiated)
    -- Called r0/4888
< Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 5/0x5) (Terminator)
< Message Type: STATUS (125)
< [08 03 81 e4 18]
< Cause (len= 5) [ Ext: 1  Coding: CCITT (ITU) standard (0)  Spare: 0 
Location: Private network serving the local user (1)
<                  Ext: 1  Cause: Invalid information element contents
(100), class = Protocol Error (e.g. unknown message) (6) ]
<              Cause data 1: 18 (24)
< [14 01 01]
< Call State (len= 3) [ Ext: 0  Coding: CCITT (ITU) standard (0)  Call
state: Call Initiated (1)
-- Processing IE 8 (cs0, Cause)
-- Processing IE 20 (cs0, Call State)
< Protocol Discriminator: Q.931 (8)  len=10
< Call Ref: len= 2 (reference 5/0x5) (Terminator)
< Message Type: SETUP ACKNOWLEDGE (13)
< [18 03 a9 83 84]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  Exclusive 
Dchan: 0
<                        ChanSel: As indicated in following octets
<                       Ext: 1  Coding: 0  Number Specified  Channel Type:
3
<                       Ext: 1  Channel: 4 Type: CPE]
-- Processing IE 24 (cs0, Channel Identification)
q931.c:4088 post_handle_q931_message: call 32773 on channel 4 enters state
2 (Overlap sending)
< Protocol Discriminator: Q.931 (8)  len=18
< Call Ref: len= 2 (reference 5/0x5) (Terminator)
< Message Type: CALL PROCEEDING (2)
< [18 03 a9 83 84]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  Exclusive 
Dchan: 0
<                        ChanSel: As indicated in following octets
<                       Ext: 1  Coding: 0  Number Specified  Channel Type:
3
<                       Ext: 1  Channel: 4 Type: CPE]
< [1e 02 81 82]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 
0: 0  Location: Private network serving the local user (1)
<                               Ext: 1  Progress Description: Called
equipment is non-ISDN. (2) ]
< [1e 02 80 88]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 
0: 0  Location: User (0)
<                               Ext: 1  Progress Description: Inband
information or appropriate pattern now available. (8) ]
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:3880 post_handle_q931_message: call 32773 on channel 4 enters state
3 (Outgoing call  Proceeding)
    -- DAHDI/4-1 is proceeding passing it to SIP/GXP0001-088e7a40
    -- DAHDI/4-1 is making progress passing it to SIP/GXP0001-088e7a40
< Protocol Discriminator: Q.931 (8)  len=18
< Call Ref: len= 2 (reference 5/0x5) (Terminator)
< Message Type: ALERTING (1)
< [18 03 a9 83 84]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  Exclusive 
Dchan: 0
<                        ChanSel: As indicated in following octets
<                       Ext: 1  Coding: 0  Number Specified  Channel Type:
3
<                       Ext: 1  Channel: 4 Type: CPE]
< [1e 02 81 82]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 
0: 0  Location: Private network serving the local user (1)
<                               Ext: 1  Progress Description: Called
equipment is non-ISDN. (2) ]
< [1e 02 80 88]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 
0: 0  Location: User (0)
<                               Ext: 1  Progress Description: Inband
information or appropriate pattern now available. (8) ]
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:3793 post_handle_q931_message: call 32773 on channel 4 enters state
4 (Call Delivered)
    -- DAHDI/4-1 is ringing
< Protocol Discriminator: Q.931 (8)  len=14
< Call Ref: len= 2 (reference 5/0x5) (Terminator)
< Message Type: CONNECT (7)
< [18 03 a9 83 84]
< Channel ID (len= 5) [ Ext: 1  IntID: Implicit  PRI  Spare: 0  Exclusive 
Dchan: 0
<                        ChanSel: As indicated in following octets
<                       Ext: 1  Coding: 0  Number Specified  Channel Type:
3
<                       Ext: 1  Channel: 4 Type: CPE]
< [1e 02 81 82]
< Progress Indicator (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 
0: 0  Location: Private network serving the local user (1)
<                               Ext: 1  Progress Description: Called
equipment is non-ISDN. (2) ]
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
q931.c:3823 post_handle_q931_message: call 32773 on channel 4 enters state
10 (Active)
> Protocol Discriminator: Q.931 (8)  len=5
> Call Ref: len= 2 (reference 5/0x5) (Originator)
> Message Type: CONNECT ACKNOWLEDGE (15)
    -- DAHDI/4-1 answered SIP/GXP0001-088e7a40
test*CLI> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-07 17:07 alecdavis      Note Added: 0107463                          
======================================================================




More information about the asterisk-bugs mailing list