]> 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>
Wed, 17 Jun 2020 08:59:53 +0000 (03:59 -0500)
commit6777ec03406e8b10c5bb8bce5bbb47a7f7f1bdbb
tree4e2087ad3c047d498f4211478acc1a0b73cb565e
parent2b5b9cd8e0b76f303d567187c4553a2a7edbc1ae
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