summaryrefslogtreecommitdiff
path: root/res/res_pjsip_sdp_rtp.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2016-10-27 19:37:47 -0500
committerGerrit Code Review <gerrit2@gerrit.digium.api>2016-10-27 19:37:47 -0500
commit24d0907849d00fd6452818c978dbd2eac13908b9 (patch)
tree425dc97184c863d3382cc323477f5a9993da0d56 /res/res_pjsip_sdp_rtp.c
parent6f73da9c11201eba4c0f55d28fc71c4e878ed612 (diff)
parentaed6c219a3b21d212cea28425e0144eb52a3db70 (diff)
Merge "pjsip: Fix a few media bugs with reinvites and asymmetric payloads."
Diffstat (limited to 'res/res_pjsip_sdp_rtp.c')
-rw-r--r--res/res_pjsip_sdp_rtp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c
index a69aa1a74..13a71d478 100644
--- a/res/res_pjsip_sdp_rtp.c
+++ b/res/res_pjsip_sdp_rtp.c
@@ -385,6 +385,11 @@ static int set_caps(struct ast_sip_session *session,
session->dsp = NULL;
}
}
+
+ if (ast_channel_is_bridged(session->channel)) {
+ ast_channel_set_unbridged_nolock(session->channel, 1);
+ }
+
ast_channel_unlock(session->channel);
}