]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session: Don't add declined stream if one does not exist.
authorJoshua Colp <jcolp@digium.com>
Tue, 18 Sep 2018 11:08:24 +0000 (11:08 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 18 Sep 2018 11:08:24 +0000 (11:08 +0000)
commit5626b8ecaecf83f5d600a1aca6915e18a6bb0e5a
tree2e5d97ae3194e5715357d87683ff666555fb4d94
parent5713fc0b492c4e4f12513c8cc7c5e07dee4d2d75
res_pjsip_session: Don't add declined stream if one does not exist.

Given a scenario where a session refresh was done with a removed
stream we would always add a removed stream to the outgoing SDP
even if one did not already exist.

This change makes it so that a removed stream is only placed into
the SDP if one already exists.

ASTERISK-28047

Change-Id: Ibb97d21cdeb87a8acae0c720861b0ff255708442
res/res_pjsip_session.c