Join GitHub today
Issues Asterisk >11.6 #6
I've found that If I compile Asterisk 11.6 or more (I'm actually using Asterisk 11.6-cert1) then there is a conflict with ICE and RTP communication
More information here:
Maybe is buggy somewhere in the code, please check this out, because is good job for integrating the Codec with Asterisk
This patch doesn't change anything in ICE, and in RTP only adds hooks to the Opus and VP8 codecs, so it's unlikely the cause is the patch itself. Anyway, you may want to try this other patch:
which is a fork of this one adapted for 11.4 and 11.5, and so it may suit better to 11.6.
Same problems with the fork using the 11.5 opus-asterisk-patch version
Here is the error found in SIPml5 for example in the Chrome (32) SIP log:
I dont find this issue if I don't use an ICE-forced phone, for example, using a softphone like PhonerLite with Opus activated
Ah so it's probably not an ICE/RTP issue, but an SDP one. I guess the patched Asterisk simply is not adding the ICE candidate information. Have you verified it works fine with an unpatched 11.6 Asterisk instead?
Check if any hooks when applying the patch fail or have warnings: considering the different versions, some of them may be incorrectly applied and messing with some lines, e.g., those adding the ice-ufrag and ice-pwd.
Yes, I've tested with an unpatched 11.6 and it works perfectly
Testing with the netaskd 11.5 fork during the patch this is the verbose:
Hmm... Looks like a unified diff to me...
|--- a/build_tools/menuselect-deps.in 2012-07-25 16:21:54.000000000 +0400
Patching file build_tools/menuselect-deps.in using Plan A...
|--- a/channels/chan_sip.c 2013-03-27 23:51:29.000000000 +0400
Patching file channels/chan_sip.c using Plan A...
|--- a/codecs/codec_opus.c 1970-01-01 03:00:00.000000000 +0300
Patching file codecs/codec_opus.c using Plan A...
|--- a/codecs/ex_opus.h 1970-01-01 03:00:00.000000000 +0300
Patching file codecs/ex_opus.h using Plan A...
|--- a/configure.ac 2013-02-26 23:45:09.000000000 +0400
Patching file configure.ac using Plan A...
|--- a/formats/format_vp8.c 1970-01-01 03:00:00.000000000 +0300
Patching file formats/format_vp8.c using Plan A...
|--- a/include/asterisk/format.h 2012-07-13 22:41:07.000000000 +0400
|--- a/main/channel.c 2013-05-09 18:21:31.000000000 +0400
Patching file main/channel.c using Plan A...
|--- a/main/format.c 2012-12-05 06:19:43.000000000 +0400
Patching file main/format.c using Plan A...
|--- a/main/frame.c 2012-07-24 20:54:26.000000000 +0400
|--- a/main/rtp_engine.c 2013-02-13 00:31:52.000000000 +0400
|--- a/makeopts.in 2013-01-19 01:10:23.000000000 +0400
Patching file makeopts.in using Plan A...
|--- a/res/res_rtp_asterisk.c 2013-03-27 21:06:07.000000000 +0400
Patching file res/res_rtp_asterisk.c using Plan A...