From: Boris P. Korzun Date: Fri, 13 Nov 2020 12:19:30 +0000 (+0300) Subject: bridge_basic: Fixed setup of recall channels X-Git-Tag: 16.16.0-rc1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89d3de37ca3919f962130598c79c0492f9d312f7;p=thirdparty%2Fasterisk.git 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 --- diff --git a/main/bridge_basic.c b/main/bridge_basic.c index 284d178b62..21b4b0ec24 100644 --- a/main/bridge_basic.c +++ b/main/bridge_basic.c @@ -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);