]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
bridge_basic: Fixed setup of recall channels
authorBoris P. Korzun <drtr0jan@yandex.ru>
Fri, 13 Nov 2020 12:19:30 +0000 (15:19 +0300)
committerGeorge Joseph <gjoseph@digium.com>
Wed, 18 Nov 2020 16:13:06 +0000 (10:13 -0600)
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

main/bridge_basic.c

index 284d178b6293abd1b482017b61f21ef1fab6456e..21b4b0ec2427a0e36be76eefdc65ca63eb0feac7 100644 (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);