]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_session: Don't restrict non-audio default streams to sendrecv.
authorJoshua C. Colp <jcolp@sangoma.com>
Thu, 19 Mar 2020 13:48:39 +0000 (10:48 -0300)
committerJoshua Colp <jcolp@sangoma.com>
Wed, 25 Mar 2020 10:38:45 +0000 (05:38 -0500)
commitc86af00ce19c4df94f5ad4c5d4d917233311f8e8
treec1f5277a869bc2f33b7f0c44c6d758c71be35bf8
parentb2e0c6cacc026e97677709e6cf6542908791a572
res_pjsip_session: Don't restrict non-audio default streams to sendrecv.

The state of the default audio stream is used for hold/unhold so we
restrict it to sendrecv as the core does not handle when it changes as
a result of hold/unhold.

This restriction does not apply to other media types though so we now
only restrict it to audio. This allows the other default streams to
store their state at all values, and not just sendrecv and removed.

ASTERISK-28783

Change-Id: I139740f38cea7f7d92a876ec2631ef50681f6625
res/res_pjsip_session.c