[asterisk-dev] [Code Review] 2894: rtp_engine: ast_rtp_instance_early_bridge_make_compatible confusion over copy direction caused loss of rtp codec payloads
Matt Jordan
reviewboard at asterisk.org
Fri Oct 25 12:39:46 CDT 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2894/#review10001
-----------------------------------------------------------
Ship it!
Ship It!
- Matt Jordan
On Sept. 30, 2013, 11:02 p.m., Scott Griepentrog wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2894/
> -----------------------------------------------------------
>
> (Updated Sept. 30, 2013, 11:02 p.m.)
>
>
> Review request for Asterisk Developers.
>
>
> Bugs: ASTERISK-21464
> https://issues.asterisk.org/jira/browse/ASTERISK-21464
>
>
> Repository: Asterisk
>
>
> Description
> -------
>
> Testing for Issue 21464 (thanks Kevin!) turned up some odd behavior on codec negotiation, including loss of codec payloads. The arguments to ast_rtp_instance_early_bridge_make_compatible were not clearly indicating source and destination channel for the copy of codecs, which made it non-obvious that the arguments to ast_rtp_codecs_payloads_copy() were reversed. The result is that an offer containing 119 telephone event would be converted to 101 telephone event, for both directrtpsetup=yes and no.
>
>
> Diffs
> -----
>
> /branches/1.8/include/asterisk/rtp_engine.h 400206
> /branches/1.8/main/rtp_engine.c 400206
>
> Diff: https://reviewboard.asterisk.org/r/2894/diff/
>
>
> Testing
> -------
>
> Tested with 1.8 to prove that telephone-event payload code 119 is now being passed again (as it was in Asterisk versions prior to 1.8).
>
>
> Thanks,
>
> Scott Griepentrog
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131025/a71bebc3/attachment.html>
More information about the asterisk-dev
mailing list