[asterisk-bugs] [Asterisk 0016281]: Unable to negotiate codecs using IAX2 (and possibly others)

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 23 12:38:51 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16281 
====================================================================== 
Reported By:                mvanbaak
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16281
Category:                   General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Target Version:             Potential Blocker
Asterisk Version:           SVN 
JIRA:                        
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 227824 
Request Review:              
====================================================================== 
Date Submitted:             2009-11-19 01:50 CST
Last Modified:              2009-11-23 12:38 CST
====================================================================== 
Summary:                    Unable to negotiate codecs using IAX2 (and possibly
others)
Description: 
Commit with Revision 227824 breaks calls using IAX2:                       
                                                                           
                                                             
                                                                          
                                                                           
                                                              
[Nov 18 18:33:30] NOTICE[28034]: chan_iax2.c:10705 socket_process:        
                                                                           
                                                              
Rejected connect attempt from XXX.XXX.XXX.XXX, requested/capability       
                                                                           
                                                              
'0x400000000000000 (nothing)'/'0xe00000000000000 (nothing)' incompatible  
                                                                           
                                                              
with our capability '0xe (gsm|ulaw|alaw)'.                                
                                                                           
                                                              
                                                                          
                                                                           
                                                              
If I do a clean checkout, and then:                                       
                                                                           
                                                              
# svn merge -c -227824 . && make upgrade && asterisk -rx 'restart now'    
                                                                           
                                                              
                                                                          
                                                                           
                                                              
Everything starts to work again.                                          
                                                                           
                                                              
                                                                          
                                                                           
                                                              
Can you please revert this commit and fix the gcc warnings some other     
                                                                           
                                                              
way ?
====================================================================== 

---------------------------------------------------------------------- 
 (0114156) tilghman (administrator) - 2009-11-23 12:38
 https://issues.asterisk.org/view.php?id=16281#c114156 
---------------------------------------------------------------------- 
Linking issue for reference.

http://gcc.gnu.org/bugzilla/show_bug.cgi?42103

The GCC folks suggested two possible ways to fix this, the first being the
method actually committed.  We have the option of the other, if someone
objects to overriding the strict aliasing specified on the command line. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-23 12:38 tilghman       Note Added: 0114156                          
======================================================================




More information about the asterisk-bugs mailing list