|Summary:||ASTERISK-15172: Unable to negotiate codecs using IAX2 (and possibly others)|
|Reporter:||Michiel van Baak (mvanbaak)||Labels:|
|Date Opened:||2009-11-19 01:50:22.000-0600||Date Closed:||2010-01-26 08:04:02.000-0600|
|Description:||Commit with Revision 227824 breaks calls using IAX2: |
[Nov 18 18:33:30] NOTICE: 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
****** STEPS TO REPRODUCE ******
svn up to latest svn trunk and try to make a call to another IAX2 box.
|Comments:||By: Michiel van Baak (mvanbaak) 2009-11-22 02:10:45.000-0600|
Revision 230697 of unaligned.h fixes the issue.
@Corydon: can we close this one for now or do you want to keep it as TODO for when the gcc folks have investigated it ?
By: Tilghman Lesher (tilghman) 2009-11-23 12:38:51.000-0600
Linking issue for reference.
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.