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
This commit is contained in:
Boris P. Korzun
2020-11-13 15:19:30 +03:00
committed by George Joseph
parent 7c355d78cb
commit 8cb439f7e4

View File

@@ -2638,7 +2638,7 @@ static int retransfer_enter(struct attended_transfer_properties *props)
&props->original_transferer_colp);
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->transferer);