]> 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)
committerJoshua Colp <jcolp@sangoma.com>
Thu, 2 Jun 2022 16:37:47 +0000 (11:37 -0500)
commit6e8e5e49afb8e089cd2a2e37f9881639a09574d9
tree2cf6dfe2ae7ebf0e116b764fb7497985cc9d1767
parentfa84b4c6922a36adf9f864a0b1e75b618741c0b7
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