]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: Check audio frame when remote SSRC changes.
authorPaulo Vicentini <paulo.vicentini@gmail.com>
Wed, 26 Feb 2020 00:30:04 +0000 (01:30 +0100)
committerPaulo Vicentini <paulo.vicentini@gmail.com>
Mon, 9 Mar 2020 10:52:13 +0000 (04:52 -0600)
commit8645a294caa582b4e437a7dae2b62b8e1bca15bd
treec3ff9bc0d3c5fb6b5aa56a49e2a677d9e0589cbf
parent1d3256c5e4ef8841f65090470b1d995cf81f362b
chan_pjsip: Check audio frame when remote SSRC changes.

If the SSRC of a received RTP packet differed from the previous SSRC
an SSRC change control frame would be queued ahead of the media
frame. In the case of audio this would result in the format of the
audio frame not being checked, and if it differed or was not allowed
then it could cause the call to drop due to failure to set up a
translation path.

The chan_pjsip module will now no longer assume the first frame
will be the audio frame and instead goes through the complete list
to find it.

ASTERISK-28759

Change-Id: I6d854cc523f343e299a615636fc65bdbd5f809ec
channels/chan_pjsip.c