[asterisk-dev] [Code Review] 3987: Bridging: Fix bouncing native bridge

opticron reviewboard at asterisk.org
Wed Sep 10 10:56:13 CDT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3987/
-----------------------------------------------------------

(Updated Sept. 10, 2014, 10:56 a.m.)


Review request for Asterisk Developers.


Changes
-------

Upload patch that applies against 1.8.


Bugs: ASTERISK-24211
    https://issues.asterisk.org/jira/browse/ASTERISK-24211


Repository: Asterisk


Description
-------

This fixes a situation in Asterisk 1.8 and 11 where ast_channel_bridge could cause a bouncing native bridge. In the case of the dial_LS_options test, this was a remote RTP bridge which caused the audio path to continually cycle between Asterisk and the remote endpoints generating a large number of SIP messages and delaying the test long enough to cause it to fail (checking timing was part of the test). The root cause was that the code to decide whether to use native bridging was expecting a time-remaining value of 0 to be the default instead of the actual default value of -1. A value of 0 or negative numbers could also be generated by preceding code in some circumstances. Both issues are addressed in this patch.


Diffs (updated)
-----

  branches/1.8/main/channel.c 422898 

Diff: https://reviewboard.asterisk.org/r/3987/diff/


Testing
-------

Verified that the test (11-only) operated correctly with this patch.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140910/a6b012f0/attachment.html>


More information about the asterisk-dev mailing list