Summary: | ASTERISK-00554: Hangup not detected when calling other Zaptel PRI | ||
Reporter: | thansen (thansen) | Labels: | |
Date Opened: | 2003-11-21 09:05:38.000-0600 | Date Closed: | 2004-09-25 02:55:01 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | When calling SIP > Ast1 > ZAP > PRI > Telco > PRI > ZAP > Ast2, and Ast2 just calls Hangup(), the SIP phone just keeps calling. A closer look reveals that the ZAP on Ast1 doesn't see it has been hung up and just sits there until Dial() times out or SIP hangs up. Non-asterisk/zaptel ISDN2 equipment correctly gets hung up. In the example I was experimenting with PRI_CAUSE=1, but the problem qualifies regardless of PRI_CAUSE. ****** ADDITIONAL INFORMATION ****** Calling side: -- Executing Dial("IAX2[gw-3@gw-3]/6", "ZAP/g1/88308391|120|r") in new stack -- Making new call for cr 33740 > Protocol Discriminator: Q.931 (8) len=50 > Call Ref: len= 2 (reference 972/0x3CC) (Originator) > Message type: SETUP (5) > Bearer Capability (len= 3) [ 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) > 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: 3 ] > Display (len= 9) [ > Display (len= 9) [ 1> Display (len= 9) [ 18> Display (len= 9) [ 188> Display (len= 9) [ 1883> Display (len= 9) [ 18834> Display (len= 9) [ 188348> Display (len= 9) [ 1883484> Display (len= 9) [ 18834849> Display (len= 9) [ 188348495> Display (len= 9) [ 188348495 ] > Calling Number (len=12) [ Ext: 0 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) > Presentation: Presentation permitted, user number passed network screening (1) '88348495' ] > Called Number (len=11) [ Ext: 1 TON: National Number (2) NPI: ISDN/Telephony Numbering Plan (E.164/E.163) (1) '88308391' ] > Sending Complete (len= 0) -- Called g1/88308391 < Protocol Discriminator: Q.931 (8) len=13 < Call Ref: len= 2 (reference 33740/0x83CC) (Terminator) < Message type: STATUS (125) < Cause (len= 3) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the local user (2) < Ext: 1 Cause: Info. element nonexist or not implemented (99), class = Protocol Error (6) ] < Cause data 0: 01 (1) < Call State (len= 1) [ Ext: 0 Coding: CCITT (ITU) standard (0) Call state: Call Initiated (1) -- Processing IE 8 (Cause) -- Processing IE 20 (Call State) < Protocol Discriminator: Q.931 (8) len=10 < Call Ref: len= 2 (reference 33740/0x83CC) (Terminator) < Message type: CALL PROCEEDING (2) < 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: 3 ] -- Processing IE 24 (Channel Identification) < Protocol Discriminator: Q.931 (8) len=13 < Call Ref: len= 2 (reference 33740/0x83CC) (Terminator) < Message type: ALERTING (1) < Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) < Ext: 1 Progress Description: Inband information or appropriate pattern now available. (8) ] < Progress Indicator (len= 2) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: Public network serving the remote user (4) < Ext: 1 Progress Description: Called equipment is non-ISDN. (2) ] -- Processing IE 30 (Progress Indicator) -- Processing IE 30 (Progress Indicator) -- Zap/3-1 is ringing NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Delivered, peerstate Call Received > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 972/0x3CC) (Originator) > Message type: DISCONNECT (69) > Cause (len= 2) [ 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) ] -- Hungup 'Zap/3-1' == Spawn extension (provider-out, s, 7) exited non-zero on 'IAX2[gw-3@gw-3]/6' -- Hungup 'IAX2[gw-3@gw-3]/6' < Protocol Discriminator: Q.931 (8) len=5 < Call Ref: len= 2 (reference 33740/0x83CC) (Terminator) < Message type: RELEASE (77) NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Release Request > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 972/0x3CC) (Originator) > Message type: RELEASE COMPLETE (90) > Cause (len= 2) [ 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) ] NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null Receiving side: -- Accepting call from '88348495' to '88308391' on channel 18, span 1 -- Executing SetVar("Zap/18-1", "PRI_CAUSE=1") in new stack -- Executing Hangup("Zap/18-1", "") in new stack == Spawn extension (provider-in, 88308391, 2) exited non-zero on 'Zap/18-1' NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Call Received, peerstate Call Delivered > Protocol Discriminator: Q.931 (8) len=9 > Call Ref: len= 2 (reference 32813/0x802D) (Terminator) > Message type: RELEASE COMPLETE (90) > Cause (len= 2) [ 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) ] NEW_HANGUP DEBUG: Calling q931_hangup, ourstate Null, peerstate Null NEW_HANGUP DEBUG: Destroying the call, ourstate Null, peerstate Null -- Hungup 'Zap/18-1' | ||
Comments: | By: jrollyson (jrollyson) 2004-01-11 04:33:02.000-0600 Tested, unable to duplicate, is this still an issue. By: jrollyson (jrollyson) 2004-01-15 16:34:28.000-0600 Can't duplicate, find me on on channel or comment if this is still an issue. |