Summary: | ASTERISK-04465: Zap channel is not hung up when a DISCONNECT message with cause code 41 is gotten from PRI | ||
Reporter: | matti (matti) | Labels: | |
Date Opened: | 2005-06-23 06:26:01 | Date Closed: | 2011-06-07 14:10:30 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) chan_zap.c ( 1) diff | |
Description: | Zap channel is not hung up when a DISCONNECT message with cause code 41 is gotten from PRI. However, Zap channel is hung up when a DISCONNECT message with cause code 16 is gotten from PRI. ****** ADDITIONAL INFORMATION ****** < [ 02 01 08 0e 08 02 7e 39 45 08 02 80 a9 ] < Informational frame: < SAPI: 00 C/R: 1 EA: 0 < TEI: 000 EA: 1 < N(S): 004 0: 0 < N(R): 007 P: 0 < 9 bytes of data < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 32313/0x7E39) (Originator) < Message type: DISCONNECT (69) < [08 02 80 a9] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Cause: Temporary failure (41), class = Network Congestion (2) ] < [ 02 01 0e 14 08 02 7e 47 45 08 02 80 90 ] < Informational frame: < SAPI: 00 C/R: 1 EA: 0 < TEI: 000 EA: 1 < N(S): 007 0: 0 < N(R): 010 P: 0 < 9 bytes of data < Protocol Discriminator: Q.931 (8) len=9 < Call Ref: len= 2 (reference 32327/0x7E47) (Originator) < Message type: DISCONNECT (69) < [08 02 80 90] < Cause (len= 4) [ Ext: 1 Coding: CCITT (ITU) standard (0) 0: 0 Location: User (0) < Ext: 1 Cause: Normal Clearing (16), class = Normal Event (1) ] | ||
Comments: | By: Michael Jerris (mikej) 2005-06-23 06:33:02 Is this really on 1.0.2? If so, please test this again with at least latest 1.0.x, and if that does not work, with head as well. By: matti (matti) 2005-06-23 06:36:52 When a call is made from another type of EuroISDN switch to a SIP phone and the caller hangs up, the originating switch sends a DISCONNECT message with cause code 41 (Temporary failure). Asterisk does not hang up the call and the SIP phone continues to ring until timeout. I suspect this is because chan_zap.c tries to send a congestion frame that is irrelevant the call not having been answered. I attached a patch that hangs up the Zap channel softly no matter what the cause code is. In Asterisk 1.0.2, some cause codes trigger a congestion or a busy frame, which does not seem to work; by default like in case of cause code 16 the call is softly hung up. By: Michael Jerris (mikej) 2005-06-23 06:40:15 You didn't answer my question. 1.0.2 is quite old. By: matti (matti) 2005-06-23 06:43:39 A newer version will be tested but may be only next week, after the midsummer festival... By: Michael Jerris (mikej) 2005-06-23 06:50:21 Ok. suspending the issue until you are able to test. Please re-open when you have your results. Also, if supplying a patch, please have it in diff -u format, against current head. |