From 453f5bf5c42d32c2c18630c23e2c2fc266e4d16b Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Thu, 21 Mar 2013 14:16:02 +0100 Subject: [PATCH] Fix call transfer to an email address. --- Classes/LinphoneManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index d2674539d..5f7cbee8a 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1294,7 +1294,7 @@ static void audioRouteChangeListenerCallback ( linphone_address_set_display_name(linphoneAddress, [displayName cStringUsingEncoding:[NSString defaultCStringEncoding]]); } if(transfer) { - linphone_core_transfer_call(theLinphoneCore, linphone_core_get_current_call(theLinphoneCore), normalizedUserName); + linphone_core_transfer_call(theLinphoneCore, linphone_core_get_current_call(theLinphoneCore), linphone_address_as_string_uri_only(linphoneAddress)); } else { call=linphone_core_invite_address_with_params(theLinphoneCore, linphoneAddress, lcallParams); }