[asterisk-bugs] [Asterisk 0012963]: [patch] chan_iax2 will create multiple sessions when receiving retransmitted NEW

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 10 16:49:29 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12963 
====================================================================== 
Reported By:                jpgrayson
Assigned To:                svnbot
====================================================================== 
Project:                    Asterisk
Issue ID:                   12963
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     resolved
Asterisk Version:           1.4.21 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             06-30-2008 18:48 CDT
Last Modified:              07-10-2008 16:49 CDT
====================================================================== 
Summary:                    [patch] chan_iax2 will create multiple sessions when
receiving retransmitted NEW
Description: 
When a client initiates a call with a NEW frame, frequently the client will
send a retransmitted NEW frame prior to receiving the ACCEPT frame from
asterisk. This may result in asterisk receiving duplicate NEW frames from
the same client in short succession.

As of at least 1.4.20, asterisk will ACCEPT and create new call sessions
for both of these NEW frames originating from the same client. This results
in much protocol confusion between asterisk and the client and ultimately
leads to asterisk and/or the client terminating the call.

The correct behavior would be for asterisk to recognize second (and third
and fourth) NEW frames from the same source (socket and callno) and ignore
them.

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

---------------------------------------------------------------------- 
 svnbot - 07-10-08 16:49  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 129803

U   branches/1.4/channels/chan_iax2.c

------------------------------------------------------------------------
r129803 | tilghman | 2008-07-10 16:49:26 -0500 (Thu, 10 Jul 2008) | 8
lines

Correctly deal with duplicate NEW frames (due to retransmission).  Also,
fixup
the destination call number matching to be more strict and reliable.
(closes issue http://bugs.digium.com/view.php?id=12963)
 Reported by: jpgrayson
 Patches: 
       chan_iax2_dup_new_fix3.patch uploaded by jpgrayson (license 492)
 Tested by: jpgrayson, Corydon76

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-10-08 16:49  svnbot         Note Added: 0090052                          
07-10-08 16:49  svnbot         Status                   new => resolved     
07-10-08 16:49  svnbot         Resolution               open => fixed       
07-10-08 16:49  svnbot         Assigned To               => svnbot          
======================================================================




More information about the asterisk-bugs mailing list