[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
Mon Jul 14 14:43:42 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12963 
====================================================================== 
Reported By:                jpgrayson
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12963
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
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:              
====================================================================== 
Date Submitted:             06-30-2008 18:48 CDT
Last Modified:              07-14-2008 14:43 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.

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

---------------------------------------------------------------------- 
 mvanbaak - 07-14-08 14:43  
---------------------------------------------------------------------- 
Then we'll have to wait roughly 20 hours.
Sleep and work are getting in the way, and I dont have time left today to
install 1.4 and make my config compatible with it, sorry.

I'll checkout and compile it already on the box, and see how far I get
with the configs. (All my stuff is generated, and it's 1.6/trunk only.
Mostly because of the argument seperator etc. Will need to hack some stuff
in my config generation scripts)

Sorry it will take so much time, but I need some time away from the pc
every day to get sleep etc. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-14-08 14:43  mvanbaak       Note Added: 0090232                          
======================================================================




More information about the asterisk-bugs mailing list