[asterisk-bugs] [Asterisk 0013645]: chan_iax2 isn't using HANGUP anymore?

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Nov 12 12:39:18 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13645 
====================================================================== 
Reported By:                dzajro
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13645
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.4.22 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-10-07 17:27 CDT
Last Modified:              2008-11-12 12:39 CST
====================================================================== 
Summary:                    chan_iax2 isn't using HANGUP anymore?
Description: 
After upgrading to 1.4.22 problem with call disconnection appeared.

Scenario: 

IP_PHONE <---sip---> ASTERISK_1 <----iax2----> ASTERISK_2 <---zap--->
PSTN

Call from IP_PHONE to PSTN to non_existing number (unassigned/unallocated
number, release cause 1) is no longer cleared immediately, but only after
approx. 10s.
iax2 debug shows, that there is no HANGUP message sent by ASTERISK_2.
Side effect - there is impossible to discover HANGUPCAUSE on ASTERISK_1,
cause HANGUPCAUSE is transmitted in HANGUP message :-(.

In fact, it looks, that there is HANGUP missing in case call was answered,
too.

I'm pretty sure, in 1.4.21.2 it worked. But I have no chance to rolback to
1.4.21.2 right now :(
====================================================================== 

---------------------------------------------------------------------- 
 (0094803) svnbot (reporter) - 2008-11-12 12:39
 http://bugs.digium.com/view.php?id=13645#c94803 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 156229

U   branches/1.4/channels/chan_iax2.c

------------------------------------------------------------------------
r156229 | tilghman | 2008-11-12 12:39:16 -0600 (Wed, 12 Nov 2008) | 11
lines

Revert revision 132506, since it occasionally caused IAX2 HANGUP packets
not
to be sent, and instead, schedule a task to destroy the iax2 pvt structure
10 seconds later.  This allows the IAX2 HANGUP packet to be queued,
transmitted, and ACKed before the pvt is destroyed.
(closes issue http://bugs.digium.com/view.php?id=13645)
 Reported by: dzajro
 Patches: 
       20081111__bug13645__3.diff.txt uploaded by Corydon76 (license 14)
 Tested by: vazir
 Reviewed: http://reviewboard.digium.com/r/51/

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=156229 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-11-12 12:39 svnbot         Checkin                                      
2008-11-12 12:39 svnbot         Note Added: 0094803                          
======================================================================




More information about the asterisk-bugs mailing list