bridge_basic: Fixed setup of recall channels

Fixed a bug (like a typo) in retransfer_enter()
at main/bridge_basic.c:2641. common_recall_channel_setup() setups
common things on the recalled transfer target, but used same target
as source instead trasfered.

ASTERISK-29161 #close

Change-Id: Ieb549654a621c38b1ad5e9d15b9f18823d9cc31f
16.16
Boris P. Korzun 5 years ago committed by George Joseph
parent d1a78e047d
commit 89d3de37ca

@ -2638,7 +2638,7 @@ static int retransfer_enter(struct attended_transfer_properties *props)
&props->original_transferer_colp); &props->original_transferer_colp);
ast_party_id_reset(&ast_channel_connected(props->recall_target)->priv); ast_party_id_reset(&ast_channel_connected(props->recall_target)->priv);
common_recall_channel_setup(props->recall_target, props->recall_target); common_recall_channel_setup(props->recall_target, props->transferer);
ast_channel_unlock(props->recall_target); ast_channel_unlock(props->recall_target);
ast_channel_unlock(props->transferer); ast_channel_unlock(props->transferer);

Loading…
Cancel
Save