[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:18:30 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:18 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.
======================================================================
----------------------------------------------------------------------
(0130363) jcovert (reporter) - 2011-01-10 14:18
https://issues.asterisk.org/view.php?id=18583#c130363
----------------------------------------------------------------------
Not so fast. That's only if it's undef in compat.h, and it won't be
because of things which are included before the #ifndef in compat.h
x.c:
#include "include/asterisk/autoconfig.h"
#include "include/asterisk/compat.h"
main() {printf("Big=%d BYTE_ORDER=%d\n",BIG_ENDIAN,BYTE_ORDER);}
asterisk:~/asterisk/asterisk-1.8.1.1 root# cc x.c
asterisk:~/asterisk/asterisk-1.8.1.1 root# ./a.out
Big=4321 Endian=4321
Issue History
Date Modified Username Field Change
======================================================================
2011-01-10 14:18 jcovert Note Added: 0130363
======================================================================
More information about the asterisk-bugs
mailing list