]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session: Preserve label on incoming re-INVITE.
authorJoshua C. Colp <jcolp@sangoma.com>
Wed, 17 Jun 2020 08:58:44 +0000 (05:58 -0300)
committerJoshua Colp <jcolp@sangoma.com>
Fri, 19 Jun 2020 09:42:22 +0000 (04:42 -0500)
commitee8ea9275ffb0adf20faae2e8fce4bbad330e994
treef53a70e4699852b73a4ae638b21e25320d6bbd33
parenta143c3a7b77ca1928530ea683f76ec4956a0a59c
res_pjsip_session: Preserve label on incoming re-INVITE.

When a re-INVITE is received we create a new set of
streams that are then swapped in as the active streams.
We did not preserve the SDP label from the previous
streams, resulting in the label getting lost.

This change ensures that if an SDP label is present
on the previous stream then it is set on the new stream.

ASTERISK-28953

Change-Id: I9dd63b88b562fe96ce5c791a3dae5bcaca258445
res/res_pjsip_session.c