[Home]

Summary:ASTERISK-04788: Fix for bug 4771 stops overlapdial on PRI E1 as empty/partial number is sent as complete
Reporter:Michael Gernoth (mgernoth)Labels:
Date Opened:2005-08-06 18:12:29Date Closed:2005-08-08 15:04:43
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Since the bug fix for 4771 asterisk always sends a number complete even when overlapdial=yes. On an E1 (connected with a TE100P) I usually dial an empty number to get the dialtone from the telco, but this does not work any more.

****** ADDITIONAL INFORMATION ******

Old behaviour with patch from 4771 reverted (dialing 031 at the telco dialtone):
   -- Executing Dial("IAX2/iaxy@iaxy-6", "zap/g1/") in new stack
-- Making new call for cr 32774
   -- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8)  len=24
> 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: Speech (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 04 41 81 34 32]
> Calling Number (len= 6) [ Ext: 0  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number passed network screening (1) '42' ]
> [70 01 c1]
> Called Number (len= 3) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '' ]
   -- Called g1/
< Protocol Discriminator: Q.931 (8)  len=14
< Call Ref: len= 2 (reference 6/0x6) (Terminator)
< Message type: SETUP ACKNOWLEDGE (13)
< [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 ]
< [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) ]
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 6/0x6) (Originator)
> Message type: INFORMATION (123)
> [70 02 c1 30]
> Called Number (len= 4) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '0' ]
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 6/0x6) (Originator)
> Message type: INFORMATION (123)
> [70 02 c1 33]
> Called Number (len= 4) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '3' ]
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 6/0x6) (Originator)
> Message type: INFORMATION (123)
> [70 02 c1 31]
> Called Number (len= 4) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '1' ]
< Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 6/0x6) (Terminator)
< Message type: CALL PROCEEDING (2)


New behaviour with current CVS HEAD:
   -- Executing Dial("IAX2/iaxy@iaxy-1", "zap/g1/") in new stack
-- Making new call for cr 32772
   -- Requested transfer capability: 0x00 - SPEECH
> Protocol Discriminator: Q.931 (8)  len=25
> Call Ref: len= 2 (reference 4/0x4) (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)
>                              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 04 41 81 34 32]
> Calling Number (len= 6) [ Ext: 0  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1)
>                           Presentation: Presentation permitted, user number passed network screening (1) '42' ]
> [70 01 c1]
> Called Number (len= 3) [ Ext: 1  TON: Subscriber Number (4)  NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '' ]
> [a1]
> Sending Complete (len= 1)
   -- Called g1/
< Protocol Discriminator: Q.931 (8)  len=14
< Call Ref: len= 2 (reference 4/0x4) (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 ]
< [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) ]
-- Processing IE 24 (cs0, Channel Identification)
-- Processing IE 30 (cs0, Progress Indicator)
   -- Zap/1-1 is proceeding passing it to IAX2/iaxy@iaxy-1
   -- Zap/1-1 is making progress passing it to IAX2/iaxy@iaxy-1
< Protocol Discriminator: Q.931 (8)  len=13
< Call Ref: len= 2 (reference 4/0x4) (Terminator)
< Message type: DISCONNECT (69)
< [08 02 82 9c]
< Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Public network serving the local user (2)
<                  Ext: 1  Cause: Invalid number format (28), class = Normal Event (1) ]
< [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) ]
-- Processing IE 8 (cs0, Cause)
-- Processing IE 30 (cs0, Progress Indicator)
   -- Channel 0/1, span 1 got hangup request
NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Disconnect Indication, peerstate Disconnect Request
> Protocol Discriminator: Q.931 (8)  len=9
> Call Ref: len= 2 (reference 4/0x4) (Originator)
> Message type: RELEASE (77)
> [08 02 81 9c]
> Cause (len= 4) [ Ext: 1  Coding: CCITT (ITU) standard (0) 0: 0   Location: Private network serving the local user (1)
>                  Ext: 1  Cause: Invalid number format (28), class = Normal Event (1) ]
   -- Hungup 'Zap/1-1'


PRI Info for E1:
*CLI> pri show span 1
Primary D-channel: 16
Status: Provisioned, Up, Active
Switchtype: EuroISDN
Type: CPE
Window Length: 0/7
Sentrej: 0
SolicitFbit: 0
Retrans: 0
Busy: 0
Overlap Dial: -1
T200 Timer: 1000
T203 Timer: 10000
T305 Timer: 30000
T308 Timer: 4000
T313 Timer: 4000
N200 Counter: 3
Comments:By: Mark Spencer (markster) 2005-08-07 00:53:24

Reverted the improperly applied bug ASTERISK-4649.