]> 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:10:59 +0000 (06:10 -0500)
commit6e79e6b09718f3cb8eeb5964048daf71a0895d45
tree40c54f99063cf03b07ae6d3fb70932617013ec75
parentb0a0b975c50b176debce878327f14281630403d6
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