]> 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:33 +0000 (04:42 -0500)
commit9589f97c9e1ceaec5d47e7782c14ba6edb6697ef
treec59a4a47a526e52f02da55b82e0b0f82d754d4fd
parent79ebbca3a7b5296d30972c13211c6e5ab8a2191e
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