diff options
author | Joshua Colp <jcolp@digium.com> | 2016-10-27 19:37:47 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-10-27 19:37:47 -0500 |
commit | 24d0907849d00fd6452818c978dbd2eac13908b9 (patch) | |
tree | 425dc97184c863d3382cc323477f5a9993da0d56 /res/res_pjsip_sdp_rtp.c | |
parent | 6f73da9c11201eba4c0f55d28fc71c4e878ed612 (diff) | |
parent | aed6c219a3b21d212cea28425e0144eb52a3db70 (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.c | 5 |
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); } |