]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip: Only set default audio stream on hold.
authorMaximilian Fridrich <m.fridrich@commend.com>
Thu, 19 May 2022 14:23:11 +0000 (16:23 +0200)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Thu, 2 Jun 2022 16:33:17 +0000 (11:33 -0500)
commit9ae06885fcbd6731399fe87cfe0f0a6c9e965113
tree7a9001074d7ce7b10b75f7c55f30fdc3807c01c4
parent3ec5eb5ae66871d99feb93a3dd4d371f62e40642
chan_pjsip: Only set default audio stream on hold.

When a PJSIP channel is set on hold or off hold, all streams were set
on/off hold. This is not the desired behaviour and caused issues
when there were multiple streams in the topology.

Now, only the default audio stream is set on/off hold when a hold is
indicated.

ASTERISK-30051

Change-Id: I04f1110565fd05fea565f5539b534b54549d4f71
channels/chan_pjsip.c