[asterisk-bugs] [Asterisk 0018583]: [patch] Codec negotiation fails on IAX calls from 1.8.1.1 to 1.8.1.1

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Jan 10 14:34:58 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18583 
====================================================================== 
Reported By:                jcovert
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18583
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.8.1.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-06 08:41 CST
Last Modified:              2011-01-10 14:34 CST
====================================================================== 
Summary:                    [patch] Codec negotiation fails on IAX calls from
1.8.1.1 to 1.8.1.1
Description: 
In the example below, an originating 1.8.1.1 system with the ONLY change in
iax.conf being changing one line from bandwidth=low to bandwidth=high is
not able to connect to a terminating 1.8.1.1 system with the only CODEC
change relevant to a guest user being (a) the change of bandwidth=low to
bandwidth=high and (b) codecpriority=caller inserted.

An originating 1.6.1.6 system with a configuration identical to the
failing originating 1.8.1.1 system is able to connect to the same
terminating 1.8.1.1 system, no problem.

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

---------------------------------------------------------------------- 
 (0130364) jcovert (reporter) - 2011-01-10 14:34
 https://issues.asterisk.org/view.php?id=18583#c130364 
---------------------------------------------------------------------- 
Yes, you are correct about the little endian faulty implementation of both
htonll and ntohll.

That means that my Darwin patch makes me compatible with little endian
machines which don't have the xtoyll functions, but incompatible with any
which do.

Since this is iax only, and iax appears to really not be ready for prime
time in 1.8.1.1 for other reasons, it might not be worth a version change
in the protocol, since only little endian machines without xtoyll create
the faulty packets.

/john 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-10 14:34 jcovert        Note Added: 0130364                          
======================================================================




More information about the asterisk-bugs mailing list