mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 01:45:11 +00:00
Merge "res_pjsip_refer/chan_sip: Fix INVITE with replaces transfer to ConfBridge"
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user