[asterisk-bugs] [Asterisk 0016095]: With delayreject=yes calls sometimes fail

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Oct 19 04:18:45 CDT 2009


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16095 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16095
Category:                   Channels/chan_iax2
Reproducibility:            sometimes
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-10-19 04:18 CDT
Last Modified:              2009-10-19 04:18 CDT
====================================================================== 
Summary:                    With delayreject=yes calls sometimes fail
Description: 
This is repeatable about 1 in https://issues.asterisk.org/view.php?id=11#c10
calls

Every call succeeds when commenting out delayreject=yes in iax.conf.
 
Or with delayreject=yes set in iax.conf but also commenting out the
following code in the 3 places iax2.c fixes it.<pre>
/* For security, always ack immediately */
                                if (delayreject)
                                       
send_command_immediate(iaxs[fr->callno], AST_FRAME_IAX, IAX_COMMAND_ACK,
fr->ts, NULL, 0,fr->iseqno);</pre>

Obvoiusly cannot stay this way, but the Security fix that applied these
changes looks like it broke IAX.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-19 04:18 alecdavis      New Issue                                    
2009-10-19 04:18 alecdavis      Asterisk Version          => SVN             
2009-10-19 04:18 alecdavis      Regression                => No              
2009-10-19 04:18 alecdavis      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list