[asterisk-bugs] [Asterisk 0018812]: [patch] IAX2 incompatible requested/capability between 1.8 SVN and any 1.8.x.y tagged release <= 1.8.2.3

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 16 08:05:11 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18812 
====================================================================== 
Reported By:                alecdavis
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18812
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.8 
SVN Revision (number only!): 301264 
Request Review:              
====================================================================== 
Date Submitted:             2011-02-15 04:47 CST
Last Modified:              2011-02-16 08:05 CST
====================================================================== 
Summary:                    [patch] IAX2 incompatible requested/capability
between 1.8 SVN and any 1.8.x.y tagged release <= 1.8.2.3
Description: 
1.8 SVN iax call to 1.8.2.3 box is rejected.

console output on 1.8.2.3 destination box
 
[Feb 15 23:22:52] NOTICE[16398]: chan_iax2.c:10958 socket_process:
Rejected connect attempt from XXX.YYY.ZZZ.AAA, requested/capability
'0x800000000000000 (nothing)'/'0xf07000000000000 (nothing)' incompatible
with our capability '0x70f (g723|gsm|ulaw|alaw|g729|speex|ilbc)'.

reverting the 1.8SVN box back to 1.8.2.3 all is well again.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018583 [patch] Codec negotiation fails on IAX ...
====================================================================== 

---------------------------------------------------------------------- 
 (0132023) jcovert (reporter) - 2011-02-16 08:05
 https://issues.asterisk.org/view.php?id=18812#c132023 
---------------------------------------------------------------------- 
By reverting the patch, more releases will be created that are wrong.

The patch fixes not only incompatibilities with other releases, it also
fixes incompatibilities between two machines running the same release but
with different configurations.

This patch corrects a faulty implementation of the library routines
ntohll/htonll (see http://www.unix.com/man-page/All/3socket/htonll/ ).

In a "bad release" (i.e. any release without the patch) a little endian
machine without the library routines htonll/ntohll will be incompatible not
only with releases with the patch but also with a system running the same
release if either

(a) the machine has the library routines htonll/ntohll
    (I don't know how common this routine is in *nix releases)

or

(b) any big endian machine.

The fix definitely needs to be in SVN or more releases will be created
with this bug.

/john 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-16 08:05 jcovert        Note Added: 0132023                          
======================================================================




More information about the asterisk-bugs mailing list