Merge "res_pjsip_refer/chan_sip: Fix INVITE with replaces transfer to ConfBridge"

This commit is contained in:
Jenkins2
2018-04-11 07:11:16 -05:00
committed by Gerrit Code Review
4 changed files with 17 additions and 12 deletions

View File

@@ -25887,10 +25887,7 @@ static int handle_invite_replaces(struct sip_pvt *p, struct sip_request *req,
ast_raw_answer(c);
ast_channel_lock(replaces_chan);
bridge = ast_channel_get_bridge(replaces_chan);
ast_channel_unlock(replaces_chan);
bridge = ast_bridge_transfer_acquire_bridge(replaces_chan);
if (bridge) {
/*
* We have two refs of the channel. One is held in c and the other