]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk.c: Fix bundled SSRC handling.
authorRichard Mudgett <rmudgett@digium.com>
Tue, 19 Sep 2017 19:28:37 +0000 (14:28 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 19 Sep 2017 20:47:47 +0000 (15:47 -0500)
commitc67ce8ae2d09efe38826a6e67747d3ed1ad3418a
treeff30169d11776c88cb236d7705d956fd911bec33
parenta9d6a55ffb400ca35da5b91345cd5db003535d49
res_rtp_asterisk.c: Fix bundled SSRC handling.

Assertions in the v15+ AST-2017-008 patches found that we were not
handling the case if the incoming SDP did not specify the required SSRC
attributes for bundled to work.

* Be strict on matching SSRC for bundled instances including the parent
instance.  If the SSRC doesn't match then discard the packet.  Bundled has
to tell us in the SDP signaling what SSRC to expect.  Otherwise, we will
not know how to find the bundled instance structure.

Change-Id: I152830bbff71c662408909042068fada39e617f9
res/res_rtp_asterisk.c